Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.0009815/0.0009815, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009559/0.0009559, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.9186/0.9186, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.685/1.685, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.984e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001951/0.001971, allocations: 1.517 MB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000956/0.002927, allocations: 0.7677 MB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.002978, allocations: 0 / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.003006, allocations: 3.938 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.00305, allocations: 19.84 kB / 0.9527 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.003566, allocations: 147.3 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.003663, allocations: 75.77 kB / 0.9529 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.003751, allocations: 12.19 kB / 0.953 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.003875, allocations: 55.81 kB / 0.953 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.912e-05/0.003924, allocations: 31.95 kB / 0.953 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.003941, allocations: 4 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.004129, allocations: 139.7 kB / 0.9532 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.00415, allocations: 15.98 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.004184, allocations: 19.91 kB / 0.9532 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.004392, allocations: 175.4 kB / 0.9534 GB, free: 500 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004394, allocations: 0 / 0.9534 GB, free: 500 kB / 0.9011 GB Notification: Performance of FrontEnd: time 2.365e-06/0.004397, allocations: 4 kB / 0.9534 GB, free: 496 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.004401, allocations: 7.938 kB / 0.9534 GB, free: 488 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004889/0.00489, allocations: 351.5 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.004932, allocations: 8.031 kB / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.004961, allocations: 30.75 kB / 0.9538 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.00515, allocations: 32.86 kB / 0.9538 GB, free: 20 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.005343, allocations: 125.7 kB / 0.9539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.005367, allocations: 8.375 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.005382, allocations: 8.375 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.005523, allocations: 66.16 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005531, allocations: 192 / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.005543, allocations: 11.94 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.005548, allocations: 0 / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.385e-05/0.005622, allocations: 35.97 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.006028, allocations: 271.8 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.445e-05/0.006122, allocations: 58.42 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.00617, allocations: 36.91 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.00619, allocations: 0 / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.006309, allocations: 79.38 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.006311, allocations: 0 / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002826/0.006593, allocations: 137.6 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.00664, allocations: 55.34 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.006716, allocations: 133.2 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.00673, allocations: 29.7 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.006771, allocations: 88.14 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.006788, allocations: 19.95 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.006823, allocations: 25.7 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.731e-05/0.006901, allocations: 322.8 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.006951, allocations: 27.98 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.007006, allocations: 46.55 kB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.898e-05/0.007105, allocations: 78.8 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007107, allocations: 0 / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001401/0.007247, allocations: 113.5 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.007263, allocations: 11.98 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.007268, allocations: 0 / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.007281, allocations: 3.984 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.765e-05/0.007349, allocations: 8 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.007355, allocations: 4 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.007388, allocations: 19.94 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.007397, allocations: 0 / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.259e-05/0.00747, allocations: 129.7 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-06/0.007479, allocations: 3.953 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.007502, allocations: 12.42 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.007504, allocations: 3.938 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.007509, allocations: 3.938 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007512, allocations: 0 / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.007824, allocations: 349.6 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.007825, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.007846, allocations: 11.92 kB / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.007849, allocations: 4 kB / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.007856, allocations: 0 / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.007857, allocations: 0 / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007858, allocations: 0 / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.008019, allocations: 215.4 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.008027, allocations: 7.953 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.008039, allocations: 0 / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.008081, allocations: 8 kB / 0.9563 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.008117, allocations: 11.98 kB / 0.9563 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.008125, allocations: 3.938 kB / 0.9563 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.008162, allocations: 99.27 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008162, allocations: 0 / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002162/0.008378, allocations: 43.86 kB / 0.9564 GB, free: 13.09 MB / 0.9167 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0006045/0.008982, allocations: 0.8153 MB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.009144, allocations: 72.2 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.009146, allocations: 0 / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.009201, allocations: 32.14 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.009415, allocations: 16 kB / 0.9573 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.01065, allocations: 1.501 MB / 0.9588 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.816e-05/0.0107, allocations: 69.22 kB / 0.9588 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.483e-05/0.01074, allocations: 11.97 kB / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.01078, allocations: 20.5 kB / 0.9589 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of SimCode: time 9.32e-07/0.01078, allocations: 0 / 0.9589 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01868/0.02946, allocations: 3.393 MB / 0.9622 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/6.941, allocations: 9.094 kB / 0.9622 GB, free: 7.172 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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: 10.932065173983574]