Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.0008077/0.0008077, 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.0008896/0.0008896, 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.8794/0.8794, 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.708/1.708, allocations: 359 MB / 0.6037 GB, free: 11.1 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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.9505 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.464e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002792/0.002826, allocations: 1.51 MB / 0.952 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.004167, allocations: 0.7601 MB / 0.9527 GB, free: 104 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.004231, allocations: 0 / 0.9527 GB, free: 104 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.004265, allocations: 7.875 kB / 0.9527 GB, free: 96 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.004319, allocations: 19.86 kB / 0.9527 GB, free: 76 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.004924, allocations: 143.4 kB / 0.9529 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.005053, allocations: 79.7 kB / 0.9529 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.005162, allocations: 12.17 kB / 0.953 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.005323, allocations: 51.89 kB / 0.953 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.005382, allocations: 35.88 kB / 0.953 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.005402, allocations: 4 kB / 0.953 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.005608, allocations: 135.7 kB / 0.9532 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.005632, allocations: 31.84 kB / 0.9532 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.005664, allocations: 11.98 kB / 0.9532 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.005877, allocations: 167.6 kB / 0.9534 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.005879, allocations: 0 / 0.9534 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.834e-06/0.005881, allocations: 4 kB / 0.9534 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.005885, allocations: 0 / 0.9534 GB, free: 15.41 MB / 0.8698 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.0005304/0.006415, allocations: 363.4 kB / 0.9537 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.006459, allocations: 8.031 kB / 0.9537 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.006491, allocations: 30.75 kB / 0.9538 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.006675, allocations: 36.86 kB / 0.9538 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.006858, allocations: 129.7 kB / 0.9539 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.006882, allocations: 8.375 kB / 0.9539 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.006895, allocations: 4.375 kB / 0.9539 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.007032, allocations: 62.22 kB / 0.954 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.007039, allocations: 192 / 0.954 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.007053, allocations: 15.92 kB / 0.954 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.007057, allocations: 0 / 0.954 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/0.007131, allocations: 39.97 kB / 0.954 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.007522, allocations: 275.8 kB / 0.9543 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.539e-05/0.007608, allocations: 46.5 kB / 0.9543 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.007653, allocations: 28.97 kB / 0.9544 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.007675, allocations: 4 kB / 0.9544 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.007791, allocations: 79.33 kB / 0.9545 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.007792, allocations: 0 / 0.9545 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002897/0.008082, allocations: 145.8 kB / 0.9546 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.008118, allocations: 51.41 kB / 0.9546 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.008191, allocations: 126 kB / 0.9548 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.008204, allocations: 33.69 kB / 0.9548 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.008251, allocations: 88.14 kB / 0.9549 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.008268, allocations: 15.97 kB / 0.9549 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.008308, allocations: 29.7 kB / 0.9549 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.008392, allocations: 322.8 kB / 0.9552 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.008443, allocations: 35.98 kB / 0.9553 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.008499, allocations: 46.5 kB / 0.9553 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.568e-05/0.008594, allocations: 78.55 kB / 0.9554 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.008597, allocations: 0 / 0.9554 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001398/0.008737, allocations: 113.5 kB / 0.9555 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.008752, allocations: 8 kB / 0.9555 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.008757, allocations: 4.062 kB / 0.9555 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.008772, allocations: 0 / 0.9555 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.008839, allocations: 15.92 kB / 0.9555 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.008845, allocations: 7.938 kB / 0.9555 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.008877, allocations: 11.89 kB / 0.9555 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.008889, allocations: 4 kB / 0.9555 GB, free: 12.96 MB / 0.8698 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.335e-05/0.008962, allocations: 125.8 kB / 0.9557 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.008969, allocations: 0 / 0.9557 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.008991, allocations: 12.44 kB / 0.9557 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008993, allocations: 4 kB / 0.9557 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.008998, allocations: 0 / 0.9557 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.009001, allocations: 0 / 0.9557 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.00929, allocations: 353.5 kB / 0.956 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.009291, allocations: 0 / 0.956 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.602e-05/0.009307, allocations: 4 kB / 0.956 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.009309, allocations: 4 kB / 0.956 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.009316, allocations: 0 / 0.956 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.009319, allocations: 3.984 kB / 0.956 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.00932, allocations: 0 / 0.956 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.009484, allocations: 223.3 kB / 0.9562 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.009492, allocations: 3.953 kB / 0.9562 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.009503, allocations: 0 / 0.9562 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.23e-05/0.009545, allocations: 7.984 kB / 0.9563 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.009579, allocations: 11.94 kB / 0.9563 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.009589, allocations: 7.922 kB / 0.9563 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.009626, allocations: 96.77 kB / 0.9564 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009626, allocations: 0 / 0.9564 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002044/0.00983, allocations: 35.94 kB / 0.9564 GB, free: 12.02 MB / 0.8698 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.0005307/0.01036, allocations: 0.8315 MB / 0.9572 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.01051, allocations: 71.89 kB / 0.9573 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01051, allocations: 0 / 0.9573 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.01056, allocations: 40.05 kB / 0.9573 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.01074, allocations: 3.938 kB / 0.9573 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.01187, allocations: 1.497 MB / 0.9588 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.345e-05/0.01193, allocations: 75.27 kB / 0.9589 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.71e-05/0.01195, allocations: 8 kB / 0.9589 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.012, allocations: 24.48 kB / 0.9589 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/0.012, allocations: 0 / 0.9589 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.02887, allocations: 3.394 MB / 0.9622 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/6.871, allocations: 16.03 kB / 0.9622 GB, free: 6.078 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.883279541507363]