Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.0008176/0.0008176, 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.0009/0.0009, 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.9345/0.9345, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.702/1.702, 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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.222e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001844/0.001866, allocations: 1.506 MB / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009246/0.00279, allocations: 0.7717 MB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.00284, allocations: 3.938 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.002866, allocations: 11.86 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.315e-05/0.00291, allocations: 11.88 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.003407, allocations: 143.4 kB / 0.9529 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.003513, allocations: 79.7 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.003598, allocations: 8.172 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.003727, allocations: 55.89 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.003776, allocations: 27.95 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.003795, allocations: 8 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.00398, allocations: 135.7 kB / 0.9532 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.004002, allocations: 23.91 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.004039, allocations: 23.97 kB / 0.9532 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.00426, allocations: 171.4 kB / 0.9534 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004263, allocations: 4 kB / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004264, allocations: 0 / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004268, allocations: 3.938 kB / 0.9534 GB, free: 0.5156 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.0005178/0.004786, allocations: 351.5 kB / 0.9537 GB, free: 140 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.004827, allocations: 12.03 kB / 0.9537 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.004861, allocations: 34.73 kB / 0.9538 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.005061, allocations: 28.88 kB / 0.9538 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.005252, allocations: 131.8 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.005272, allocations: 384 / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.005286, allocations: 4.375 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.005494, allocations: 74.2 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005502, allocations: 4.188 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.005513, allocations: 3.938 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.005518, allocations: 0 / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.005592, allocations: 43.91 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.005962, allocations: 271.8 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.00605, allocations: 50.48 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.006098, allocations: 32.97 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.006117, allocations: 4 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.006224, allocations: 75.31 kB / 0.9545 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.006225, allocations: 0 / 0.9545 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002674/0.006493, allocations: 145.7 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.006528, allocations: 51.41 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.006605, allocations: 126.1 kB / 0.9548 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.006618, allocations: 29.7 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.006657, allocations: 92.12 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.006673, allocations: 19.84 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.00671, allocations: 29.7 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.006788, allocations: 322.8 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.006838, allocations: 27.97 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.006895, allocations: 50.5 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.007001, allocations: 70.86 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007003, allocations: 4 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001446/0.007148, allocations: 121.5 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.007163, allocations: 6.5 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.007169, allocations: 0 / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.007183, allocations: 4 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.007244, allocations: 11.94 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.007252, allocations: 3.984 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.007285, allocations: 15.89 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.007295, allocations: 8.062 kB / 0.9555 GB, free: 14.08 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.138e-05/0.007367, allocations: 117.8 kB / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.007377, allocations: 7.953 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.007404, allocations: 16.42 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.007406, allocations: 3.938 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.007411, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007414, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.007713, allocations: 341.5 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007715, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.007735, allocations: 11.98 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.007737, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.007746, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.007749, allocations: 4 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.00775, allocations: 3.938 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.007918, allocations: 219.3 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.007926, allocations: 7.953 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.007938, allocations: 0 / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.305e-05/0.007981, allocations: 8 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.008013, allocations: 7.984 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.008022, allocations: 7.938 kB / 0.9563 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.008057, allocations: 96.14 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008057, allocations: 4 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002074/0.008264, allocations: 43.86 kB / 0.9564 GB, free: 13.12 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.0005633/0.008827, allocations: 0.8148 MB / 0.9572 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.008981, allocations: 64.27 kB / 0.9573 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.008984, allocations: 4 kB / 0.9573 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.068e-05/0.009044, allocations: 36.06 kB / 0.9573 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.009239, allocations: 20.06 kB / 0.9573 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.01031, allocations: 1.49 MB / 0.9588 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.153e-05/0.01036, allocations: 71.34 kB / 0.9588 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.0104, allocations: 7.984 kB / 0.9589 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.01044, allocations: 16.5 kB / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.01044, allocations: 0 / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.02886, allocations: 3.402 MB / 0.9622 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.063, allocations: 1.375 kB / 0.9622 GB, free: 7.211 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.230317309498787]