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.001721/0.001721, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.001576/0.001576, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 8.934 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.849/2.849, allocations: 476.7 MB / 0.7672 GB, free: 5.191 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: 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.002084/0.002084, allocations: 63.89 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8554/0.8575, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002836/0.8603, allocations: 1.542 MB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.8618, allocations: 0.804 MB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.8618, allocations: 0 / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.8619, allocations: 3.938 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.8619, allocations: 7.875 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.8625, allocations: 143.5 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.8626, allocations: 75.81 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.574e-05/0.8627, allocations: 11.98 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.8629, allocations: 51.77 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.863, allocations: 35.91 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.863, allocations: 4 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.8632, allocations: 111.9 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.8632, allocations: 23.89 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.8633, allocations: 31.86 kB / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.8636, allocations: 149.5 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8636, allocations: 0 / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8636, allocations: 0 / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8636, allocations: 0 / 1.281 GB, free: 10.4 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007494/0.8643, allocations: 436.6 kB / 1.282 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.8644, allocations: 8.031 kB / 1.282 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.8644, allocations: 34.75 kB / 1.282 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.8648, allocations: 32.84 kB / 1.282 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.865, allocations: 184.3 kB / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.865, allocations: 8.375 kB / 1.282 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.8651, allocations: 8.375 kB / 1.282 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.8653, allocations: 69.53 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.8653, allocations: 0 / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.8653, allocations: 7.984 kB / 1.282 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.8653, allocations: 0 / 1.282 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.8654, allocations: 35.98 kB / 1.282 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.8661, allocations: 316.7 kB / 1.282 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.8662, allocations: 46.5 kB / 1.282 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.59e-05/0.8663, allocations: 32.97 kB / 1.282 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.8663, allocations: 0 / 1.282 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.8665, allocations: 79.44 kB / 1.282 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.8665, allocations: 4 kB / 1.282 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004555/0.8669, allocations: 133.6 kB / 1.283 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.867, allocations: 63.33 kB / 1.283 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.8671, allocations: 126 kB / 1.283 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.8672, allocations: 25.7 kB / 1.283 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.8672, allocations: 96.08 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.8673, allocations: 11.91 kB / 1.283 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.8673, allocations: 33.7 kB / 1.283 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8675, allocations: 326.8 kB / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.8676, allocations: 23.98 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.8677, allocations: 42.56 kB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.8679, allocations: 86.47 kB / 1.283 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8679, allocations: 0 / 1.283 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002634/0.8681, allocations: 109.5 kB / 1.283 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8682, allocations: 4 kB / 1.283 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8682, allocations: 0 / 1.283 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.8682, allocations: 4 kB / 1.283 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.8683, allocations: 11.98 kB / 1.283 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8683, allocations: 4.062 kB / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.8683, allocations: 15.94 kB / 1.283 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.8684, allocations: 7.938 kB / 1.283 GB, free: 7.758 MB / 0.9825 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 0.0001172/0.8685, allocations: 121.5 kB / 1.284 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.8685, allocations: 11.94 kB / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.8685, allocations: 8.375 kB / 1.284 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.8685, allocations: 4 kB / 1.284 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.8685, allocations: 0 / 1.284 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8685, allocations: 4 kB / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.8691, allocations: 382.4 kB / 1.284 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8691, allocations: 3.938 kB / 1.284 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.8691, allocations: 11.92 kB / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8691, allocations: 7.922 kB / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.8691, allocations: 4 kB / 1.284 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8691, allocations: 4.406 kB / 1.284 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8691, allocations: 0 / 1.284 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.8694, allocations: 203.5 kB / 1.284 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.8695, allocations: 89.05 kB / 1.284 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.8695, allocations: 4 kB / 1.284 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.8696, allocations: 7.938 kB / 1.284 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.8697, allocations: 7.984 kB / 1.284 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.8697, allocations: 0 / 1.284 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.709e-05/0.8697, allocations: 95.27 kB / 1.284 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8697, allocations: 4 kB / 1.284 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003198/0.8701, allocations: 39.92 kB / 1.284 GB, free: 6.66 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: 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.0009587/0.871, allocations: 0.8069 MB / 1.285 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.8713, allocations: 71.83 kB / 1.285 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.8713, allocations: 0 / 1.285 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.8714, allocations: 27.98 kB / 1.285 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.8716, allocations: 15.88 kB / 1.285 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.8735, allocations: 1.515 MB / 1.287 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.8738, allocations: 0.6885 MB / 1.288 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.8739, allocations: 8 kB / 1.288 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.8739, allocations: 23.42 kB / 1.288 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8739, allocations: 0 / 1.288 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.8999, allocations: 2.692 MB / 1.29 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.272, allocations: 21.39 kB / 1.29 GB, free: 0.8203 MB / 0.9825 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset [Calling sys.exit(0), Time elapsed: 15.548989623785019]