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.001715/0.001715, allocations: 108.9 kB / 16.46 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.002171/0.002171, allocations: 216.2 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.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.868/2.868, allocations: 476.7 MB / 0.7672 GB, free: 5.184 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.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: 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.002081/0.002081, allocations: 63.91 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9538/0.9559, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003919/0.9598, allocations: 1.527 MB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.9615, allocations: 0.804 MB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.9616, allocations: 3.938 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.9616, allocations: 3.938 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.432e-05/0.9617, allocations: 11.86 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.9623, allocations: 135.6 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.9624, allocations: 83.75 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.9625, allocations: 11.97 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.9627, allocations: 43.84 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.9628, allocations: 35.89 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.9628, allocations: 7.938 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.963, allocations: 119.9 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.963, allocations: 11.92 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.9631, allocations: 35.84 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.9634, allocations: 153.5 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9634, allocations: 0 / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9634, allocations: 0 / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.9634, allocations: 0 / 1.281 GB, free: 10.41 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.0007921/0.9642, allocations: 432.6 kB / 1.282 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.9642, allocations: 8.031 kB / 1.282 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.9643, allocations: 34.75 kB / 1.282 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/0.9646, allocations: 40.91 kB / 1.282 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.9649, allocations: 184.3 kB / 1.282 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.965, allocations: 12.3 kB / 1.282 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.965, allocations: 4.375 kB / 1.282 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.9652, allocations: 69.59 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.9652, allocations: 3.938 kB / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.9652, allocations: 4 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.9652, allocations: 0 / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.9654, allocations: 39.97 kB / 1.282 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.966, allocations: 312.7 kB / 1.282 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.9662, allocations: 42.56 kB / 1.282 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.9662, allocations: 32.91 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.9663, allocations: 4 kB / 1.282 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.9664, allocations: 75.38 kB / 1.282 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.9664, allocations: 0 / 1.282 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004221/0.9669, allocations: 145.6 kB / 1.283 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.9669, allocations: 59.34 kB / 1.283 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.967, allocations: 119.3 kB / 1.283 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.9671, allocations: 37.62 kB / 1.283 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.9671, allocations: 96.09 kB / 1.283 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.9672, allocations: 11.91 kB / 1.283 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.9672, allocations: 25.7 kB / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9674, allocations: 326.8 kB / 1.283 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.9674, allocations: 27.98 kB / 1.283 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.822e-05/0.9675, allocations: 50.5 kB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.9677, allocations: 74.48 kB / 1.283 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.9677, allocations: 0 / 1.283 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002441/0.968, allocations: 117.5 kB / 1.283 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.968, allocations: 10.56 kB / 1.283 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.968, allocations: 0 / 1.283 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.968, allocations: 4 kB / 1.283 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.9681, allocations: 11.98 kB / 1.283 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9681, allocations: 400 / 1.283 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.9682, allocations: 7.938 kB / 1.283 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.9682, allocations: 11.92 kB / 1.283 GB, free: 7.766 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.000114/0.9683, allocations: 115.3 kB / 1.284 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.9683, allocations: 19.89 kB / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.9684, allocations: 4.375 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.9684, allocations: 4 kB / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9684, allocations: 0 / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.9684, allocations: 0 / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.9689, allocations: 386.4 kB / 1.284 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.9689, allocations: 0 / 1.284 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.9689, allocations: 11.92 kB / 1.284 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.9689, allocations: 3.938 kB / 1.284 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.969, allocations: 8 kB / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.969, allocations: 11.88 kB / 1.284 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.969, allocations: 0 / 1.284 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.9693, allocations: 203.5 kB / 1.284 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.9693, allocations: 85.06 kB / 1.284 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.9693, allocations: 0 / 1.284 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.9694, allocations: 7.938 kB / 1.284 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.9695, allocations: 11.98 kB / 1.284 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-06/0.9695, allocations: 0 / 1.284 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.741e-05/0.9696, allocations: 99.27 kB / 1.284 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9696, allocations: 0 / 1.284 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003129/0.9699, allocations: 39.92 kB / 1.284 GB, free: 6.668 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.0009436/0.9708, allocations: 0.8037 MB / 1.285 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.9711, allocations: 75.88 kB / 1.285 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.9711, allocations: 0 / 1.285 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.9712, allocations: 32.05 kB / 1.285 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.9715, allocations: 15.92 kB / 1.285 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.9733, allocations: 1.504 MB / 1.287 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.9736, allocations: 0.6924 MB / 1.288 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.799e-05/0.9737, allocations: 7.984 kB / 1.288 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.9737, allocations: 23.42 kB / 1.288 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.9737, allocations: 0 / 1.288 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/1.002, allocations: 2.697 MB / 1.29 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/9.434, allocations: 2.062 kB / 1.29 GB, free: 0.8398 MB / 0.9825 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_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.810928381048143]