Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001392/0.001392, allocations: 109 kB / 17.54 MB, free: 4.746 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.001405/0.001405, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.462/2.462, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 67.89 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7447/0.7464, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.00225/0.7486, allocations: 1.655 MB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.7497, allocations: 0.8093 MB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.7497, allocations: 0.7188 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.7498, allocations: 14.2 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.754e-05/0.7498, allocations: 25.02 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.7503, allocations: 149 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.7504, allocations: 152.3 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.69e-05/0.7505, allocations: 22.33 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.7506, allocations: 63.86 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.89e-05/0.7507, allocations: 75.05 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.7507, allocations: 17.03 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.7509, allocations: 111.2 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.311e-05/0.7509, allocations: 38.73 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.751, allocations: 60.78 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.7512, allocations: 204.2 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.7512, allocations: 0.8125 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7512, allocations: 0 / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.7512, allocations: 0 / 1.275 GB, free: 5.648 MB / 0.9981 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.0005995/0.7518, allocations: 0.5436 MB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.7519, allocations: 10.44 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.097e-05/0.7519, allocations: 41.69 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.7519, allocations: 15.16 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.582e-05/0.752, allocations: 185.1 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.752, allocations: 7.812 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.7521, allocations: 5.375 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.7525, allocations: 146 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.7525, allocations: 0 / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.7525, allocations: 5.797 kB / 1.276 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7525, allocations: 5.094 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.7529, allocations: 105.3 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.7535, allocations: 375.6 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.7538, allocations: 96.91 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.7541, allocations: 84.14 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.7541, allocations: 1.156 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003824/0.7545, allocations: 151.4 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.7545, allocations: 0 / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001079/0.7556, allocations: 307.4 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.7556, allocations: 53.88 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.7558, allocations: 148.9 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.7558, allocations: 27.36 kB / 1.277 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.7558, allocations: 114.9 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.7558, allocations: 22.62 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.7559, allocations: 29.72 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.46e-05/0.756, allocations: 326.4 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.7561, allocations: 38.28 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.7562, allocations: 89.25 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.7565, allocations: 124.6 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7565, allocations: 0.8438 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003388/0.7568, allocations: 152.8 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.7569, allocations: 6.031 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7569, allocations: 1.844 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.7569, allocations: 1.875 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.757, allocations: 24.16 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.757, allocations: 6.531 kB / 1.278 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.7571, allocations: 21.05 kB / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.7572, allocations: 9.797 kB / 1.278 GB, free: 3.258 MB / 0.9981 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 7.985e-05/0.7572, allocations: 117.7 kB / 1.278 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.7573, allocations: 9.672 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.7573, allocations: 17 kB / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.7573, allocations: 5.312 kB / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7573, allocations: 0 / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7573, allocations: 1.734 kB / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009465/0.7583, allocations: 0.5252 MB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7583, allocations: 0 / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/0.7583, allocations: 17.41 kB / 1.278 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7583, allocations: 112 / 1.278 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.7584, allocations: 11.73 kB / 1.279 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.7584, allocations: 4.656 kB / 1.279 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7584, allocations: 96 / 1.279 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/0.7591, allocations: 328.6 kB / 1.279 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.7591, allocations: 92.3 kB / 1.279 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.7591, allocations: 6.297 kB / 1.279 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.7594, allocations: 32.09 kB / 1.279 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.7594, allocations: 7.469 kB / 1.279 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.7594, allocations: 5.562 kB / 1.279 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.572e-05/0.7595, allocations: 113.6 kB / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7595, allocations: 0 / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003148/0.7598, allocations: 45.67 kB / 1.279 GB, free: 2.328 MB / 0.9981 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.001089/0.7609, allocations: 0.9256 MB / 1.28 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005065/0.7614, allocations: 142 kB / 1.28 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7614, allocations: 0.9062 kB / 1.28 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.7617, allocations: 82.22 kB / 1.28 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.7619, allocations: 12.61 kB / 1.28 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.764, allocations: 1.79 MB / 1.282 GB, free: 16.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.7643, allocations: 0.7094 MB / 1.283 GB, free: 15.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.042e-05/0.7644, allocations: 9.203 kB / 1.283 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.7644, allocations: 32.92 kB / 1.283 GB, free: 15.34 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/0.7644, allocations: 0 / 1.283 GB, free: 15.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.7886, allocations: 3.494 MB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.814, allocations: 4.219 kB / 1.286 GB, free: 14.77 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.074644305999755]