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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 105.8 kB / 17.54 MB, free: 4.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 186.6 kB / 20.71 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.337/2.337, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.89 kB / 1.059 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2617, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002804/0.2645, allocations: 1.647 MB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2659, allocations: 0.8267 MB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.266, allocations: 8 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.266, allocations: 11.86 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.2661, allocations: 15.75 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.2667, allocations: 155.5 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.2669, allocations: 151.5 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.267, allocations: 21.05 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.2671, allocations: 67.81 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.2672, allocations: 79.72 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.2672, allocations: 12 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.2674, allocations: 115.8 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.2675, allocations: 31.91 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.2676, allocations: 63.7 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.2679, allocations: 215.2 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2679, allocations: 0 / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2679, allocations: 0 / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2679, allocations: 0 / 1.219 GB, free: 12.5 MB / 0.9669 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.0008366/0.2687, allocations: 0.5366 MB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2688, allocations: 12.03 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.2688, allocations: 34.75 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.2689, allocations: 20.81 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.269, allocations: 184.1 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.269, allocations: 8.375 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.269, allocations: 4.375 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.2695, allocations: 153.6 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2695, allocations: 0 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.2695, allocations: 0 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2695, allocations: 0 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.2699, allocations: 103.9 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/0.2707, allocations: 384.5 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.271, allocations: 102.4 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.2713, allocations: 76.78 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2713, allocations: 0 / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.2718, allocations: 147.2 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.2718, allocations: 0 / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.001106/0.2729, allocations: 309.3 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.2729, allocations: 55.41 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2731, allocations: 149.7 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.2731, allocations: 29.7 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.2732, allocations: 100.4 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.2732, allocations: 31.72 kB / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.2733, allocations: 29.7 kB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2734, allocations: 330.7 kB / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2735, allocations: 43.97 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2737, allocations: 73.12 kB / 1.222 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.2739, allocations: 129 kB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2739, allocations: 0 / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000355/0.2743, allocations: 153.5 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2743, allocations: 4 kB / 1.222 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2743, allocations: 128 / 1.222 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2743, allocations: 8 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.2745, allocations: 23.91 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.2745, allocations: 4 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.2746, allocations: 15.95 kB / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.2746, allocations: 11.92 kB / 1.222 GB, free: 8.988 MB / 0.9669 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.805e-05/0.2747, allocations: 117.8 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.2747, allocations: 11.95 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.2747, allocations: 12.81 kB / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2747, allocations: 7.984 kB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2748, allocations: 7.922 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2748, allocations: 0 / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.2758, allocations: 0.5299 MB / 1.223 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2758, allocations: 0 / 1.223 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/0.2758, allocations: 15.98 kB / 1.223 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2759, allocations: 3.984 kB / 1.223 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.2759, allocations: 8 kB / 1.223 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2759, allocations: 3.938 kB / 1.223 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2759, allocations: 0 / 1.223 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.2766, allocations: 323.3 kB / 1.223 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.2767, allocations: 89.06 kB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.2767, allocations: 8 kB / 1.223 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.2769, allocations: 23.91 kB / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.277, allocations: 7.984 kB / 1.223 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.277, allocations: 7.984 kB / 1.223 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.522e-05/0.2771, allocations: 110.5 kB / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2771, allocations: 0 / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003055/0.2774, allocations: 55.81 kB / 1.223 GB, free: 7.562 MB / 0.9669 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.001278/0.2787, allocations: 0.9211 MB / 1.224 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.2792, allocations: 147.8 kB / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2792, allocations: 0 / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.2795, allocations: 75.92 kB / 1.224 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.2798, allocations: 16.17 kB / 1.224 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.282, allocations: 1.784 MB / 1.226 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2823, allocations: 0.7041 MB / 1.227 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.892e-05/0.2824, allocations: 8.172 kB / 1.227 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.2824, allocations: 31.42 kB / 1.227 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of SimCode: time 2.9e-07/0.2824, allocations: 0 / 1.227 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.3083, allocations: 3.5 MB / 1.23 GB, free: 348 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.337, allocations: 2.25 kB / 1.23 GB, free: 348 kB / 0.9669 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv","/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) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.558353679996799]