Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008052/0.008052, allocations: 101.1 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001749, allocations: 194.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.1 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2732, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002637/0.2759, allocations: 1.626 MB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2773, allocations: 0.7907 MB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.2774, allocations: 4 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.597e-05/0.2775, allocations: 15.8 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.2775, allocations: 15.8 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.2782, allocations: 159.6 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.2784, allocations: 155.5 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2785, allocations: 17.11 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.2786, allocations: 75.75 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.2788, allocations: 75.73 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.2788, allocations: 16 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.279, allocations: 95.91 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.2791, allocations: 39.88 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.94e-05/0.2792, allocations: 55.72 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.2795, allocations: 214.8 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2795, allocations: 0 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2795, allocations: 0 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2796, allocations: 0 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008567/0.2804, allocations: 0.5371 MB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2805, allocations: 8.031 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.2805, allocations: 38.75 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.2806, allocations: 12.75 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.2807, allocations: 195.9 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.2808, allocations: 8.375 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.2808, allocations: 4.375 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.2812, allocations: 141.7 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2813, allocations: 3.984 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.2813, allocations: 4 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2813, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.2817, allocations: 103.9 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.2825, allocations: 384.5 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.2829, allocations: 98.5 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.2832, allocations: 88.78 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.2832, allocations: 0 / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004503/0.2837, allocations: 139.2 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/0.2837, allocations: 4 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.00112/0.2848, allocations: 309.1 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.2849, allocations: 55.39 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.285, allocations: 143.3 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.285, allocations: 37.7 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.2851, allocations: 104.5 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.2851, allocations: 23.75 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.2852, allocations: 33.64 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2853, allocations: 330.8 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.2855, allocations: 39.97 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.2856, allocations: 88.5 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.2859, allocations: 117 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2859, allocations: 7.938 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003537/0.2863, allocations: 157.3 kB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2863, allocations: 8 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2863, allocations: 4.125 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2863, allocations: 4 kB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2865, allocations: 19.98 kB / 1.173 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2865, allocations: 7.984 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2866, allocations: 4.094 kB / 1.173 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.2867, allocations: 7.938 kB / 1.173 GB, free: 460 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.468e-05/0.2868, allocations: 133.8 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.2868, allocations: 7.906 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.2868, allocations: 16.72 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2868, allocations: 0 / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2868, allocations: 0 / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2868, allocations: 4 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009891/0.2878, allocations: 0.5255 MB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2879, allocations: 4 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.488e-05/0.2879, allocations: 11.98 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.288, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.288, allocations: 4.453 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.288, allocations: 3.938 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.288, allocations: 4 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.2888, allocations: 331.2 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.2888, allocations: 89.02 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.2889, allocations: 0 / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.2891, allocations: 23.91 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.2892, allocations: 11.98 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.2892, allocations: 7.984 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.2893, allocations: 106.9 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.463e-06/0.2893, allocations: 0 / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003434/0.2896, allocations: 59.77 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/0.2909, allocations: 0.9405 MB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.2914, allocations: 139.8 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2914, allocations: 0 / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.2917, allocations: 87.86 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.292, allocations: 16.17 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.2942, allocations: 1.769 MB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.2944, allocations: 0.7002 MB / 1.177 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.962e-05/0.2945, allocations: 11.98 kB / 1.177 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.2945, allocations: 31.42 kB / 1.177 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/0.2946, allocations: 0 / 1.177 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.3157, allocations: 3.477 MB / 1.181 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.2, allocations: 15.61 kB / 1.181 GB, free: 7.852 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches