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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 113.8 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 64.55 kB / 1.118 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3988, allocations: 170 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.00337/0.4022, allocations: 1.686 MB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.4041, allocations: 0.9015 MB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.762e-05/0.4042, allocations: 4 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.413e-05/0.4043, allocations: 11.86 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.4043, allocations: 19.73 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007171/0.4051, allocations: 191.5 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.4053, allocations: 167.5 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.4054, allocations: 13.31 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.4055, allocations: 75.75 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.4057, allocations: 75.72 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.4057, allocations: 16 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.406, allocations: 147.8 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.406, allocations: 31.91 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.335e-05/0.4061, allocations: 67.64 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.4064, allocations: 223.4 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4064, allocations: 0 / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4064, allocations: 0 / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.4065, allocations: 0 / 1.288 GB, free: 8 MB / 0.9825 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.0008676/0.4073, allocations: 484.3 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4074, allocations: 12.03 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.073e-05/0.4074, allocations: 192 / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.4074, allocations: 42.73 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007204/0.4082, allocations: 80.77 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.4085, allocations: 159.3 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.4085, allocations: 12.38 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.4085, allocations: 4.375 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.409, allocations: 141.5 kB / 1.289 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.409, allocations: 3.984 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4091, allocations: 0 / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4091, allocations: 0 / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.4095, allocations: 103.9 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.4103, allocations: 367.5 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.4107, allocations: 98.5 kB / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.411, allocations: 80.8 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.4111, allocations: 3.984 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004639/0.4115, allocations: 139.2 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.4115, allocations: 0 / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001191/0.4127, allocations: 305.3 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.4128, allocations: 55.56 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.413, allocations: 156 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.413, allocations: 33.69 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.4131, allocations: 100.4 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.4131, allocations: 27.78 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.4132, allocations: 33.7 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4133, allocations: 322.8 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.4135, allocations: 47.97 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.4136, allocations: 73.75 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.414, allocations: 133 kB / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.414, allocations: 0 / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004713/0.4144, allocations: 161.4 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4144, allocations: 4 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.4145, allocations: 4 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4145, allocations: 0 / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.4146, allocations: 23.97 kB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4146, allocations: 0 / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.4148, allocations: 23.88 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.4148, allocations: 4 kB / 1.291 GB, free: 4.566 MB / 0.9825 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 0.0001349/0.4149, allocations: 133.9 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.4149, allocations: 7.953 kB / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.415, allocations: 17.08 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.415, allocations: 4 kB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.415, allocations: 0 / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.415, allocations: 3.938 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4162, allocations: 0.5051 MB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.4162, allocations: 0 / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.105e-05/0.4163, allocations: 11.98 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4163, allocations: 0 / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.4163, allocations: 8.047 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4163, allocations: 7.938 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4163, allocations: 0 / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.4172, allocations: 327.3 kB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.4173, allocations: 11.91 kB / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.4173, allocations: 7.938 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.4175, allocations: 23.95 kB / 1.292 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.4176, allocations: 11.98 kB / 1.292 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.4176, allocations: 0 / 1.292 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.302e-05/0.4177, allocations: 115.2 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4177, allocations: 3.938 kB / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005677/0.4183, allocations: 55.86 kB / 1.292 GB, free: 3.254 MB / 0.9825 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.001958/0.4202, allocations: 0.916 MB / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00075/0.421, allocations: 147.8 kB / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.421, allocations: 0 / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005224/0.4215, allocations: 92.11 kB / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.4218, allocations: 8.359 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.4245, allocations: 1.802 MB / 1.295 GB, free: 184 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.425, allocations: 0.7002 MB / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.4251, allocations: 8.672 kB / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.4252, allocations: 35.55 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of SimCode: time 1.322e-06/0.4252, allocations: 0 / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.4524, allocations: 3.776 MB / 1.299 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.88, allocations: 15.48 kB / 1.299 GB, free: 11.78 MB / 0.9981 GB " [Timeout remaining time 287] (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 --stepSize=1.44 --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] [Calling os._exit(0), Time elapsed: 18.813478577008937] Failed to read output from testmodel.py, exit status != 0: 12.635463474027347 12.082142046 11.669935774 Calling exit ...