Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.0008803/0.0008803, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008395/0.0008395, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9114/0.9114, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7/1.7, allocations: 359 MB / 0.6037 GB, free: 11.09 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.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.671e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002148/0.002174, allocations: 1.52 MB / 0.952 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003237, allocations: 0.76 MB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.0033, allocations: 4 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.00333, allocations: 3.938 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.003385, allocations: 19.78 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.003978, allocations: 143.5 kB / 0.9529 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.004092, allocations: 83.7 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.004179, allocations: 8.188 kB / 0.953 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.004322, allocations: 55.81 kB / 0.953 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.004372, allocations: 31.89 kB / 0.953 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.004389, allocations: 8 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.004641, allocations: 135.7 kB / 0.9532 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.004663, allocations: 15.92 kB / 0.9532 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.004697, allocations: 27.91 kB / 0.9532 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.004905, allocations: 171.5 kB / 0.9534 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004907, allocations: 0 / 0.9534 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.253e-06/0.004908, allocations: 4 kB / 0.9534 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.004912, allocations: 0 / 0.9534 GB, free: 0.5312 MB / 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.000508/0.00542, allocations: 355.4 kB / 0.9537 GB, free: 152 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.005459, allocations: 8.031 kB / 0.9537 GB, free: 144 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.005491, allocations: 38.75 kB / 0.9538 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.005663, allocations: 28.86 kB / 0.9538 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.005847, allocations: 125.7 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.005867, allocations: 4.375 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.00588, allocations: 12.38 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.006014, allocations: 70.16 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.006021, allocations: 192 / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.006033, allocations: 7.922 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.006038, allocations: 0 / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.452e-05/0.006112, allocations: 35.97 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.006543, allocations: 275.8 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.006628, allocations: 58.42 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.006673, allocations: 28.97 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.006691, allocations: 0 / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.006804, allocations: 79.38 kB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.006805, allocations: 0 / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002642/0.007069, allocations: 133.6 kB / 0.9546 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.007106, allocations: 67.41 kB / 0.9547 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.007179, allocations: 129.1 kB / 0.9548 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.007193, allocations: 25.7 kB / 0.9548 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.007236, allocations: 92.14 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.007252, allocations: 15.89 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.007291, allocations: 29.7 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.007381, allocations: 318.8 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.007429, allocations: 31.92 kB / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.007484, allocations: 50.55 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.657e-05/0.00758, allocations: 74.8 kB / 0.9554 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.007584, allocations: 4 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001343/0.007718, allocations: 113.5 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.007732, allocations: 11.98 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.007737, allocations: 0 / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.007752, allocations: 0 / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.007813, allocations: 8 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.007818, allocations: 8.062 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.007853, allocations: 19.81 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.007866, allocations: 4 kB / 0.9555 GB, free: 14.09 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.715e-05/0.007943, allocations: 121.7 kB / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.007953, allocations: 7.953 kB / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.007982, allocations: 12.42 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007985, allocations: 0 / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.007991, allocations: 4 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.007995, allocations: 0 / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.008422, allocations: 349.6 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008423, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.008445, allocations: 11.92 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.008448, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.008456, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008457, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008458, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.008633, allocations: 223.4 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.008642, allocations: 3.953 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.008659, allocations: 11.94 kB / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.044e-05/0.0087, allocations: 0 / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.008745, allocations: 7.984 kB / 0.9563 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.008757, allocations: 7.938 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.008803, allocations: 99.27 kB / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008803, allocations: 0 / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002476/0.00905, allocations: 39.92 kB / 0.9564 GB, free: 13.13 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.0006428/0.009693, allocations: 0.8142 MB / 0.9572 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.00987, allocations: 72.2 kB / 0.9573 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009872, allocations: 0 / 0.9573 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.409e-05/0.009926, allocations: 28.14 kB / 0.9573 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.01012, allocations: 24.06 kB / 0.9573 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.01123, allocations: 1.493 MB / 0.9588 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.871e-05/0.01127, allocations: 67.34 kB / 0.9588 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.108e-05/0.01131, allocations: 7.984 kB / 0.9589 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.01135, allocations: 24.5 kB / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.01135, allocations: 4 kB / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.02929, allocations: 3.395 MB / 0.9622 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.713/6.742, allocations: 0 / 0.9622 GB, free: 7.223 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.855987498536706]