Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001855/0.001855, allocations: 100.4 kB / 16.45 MB, free: 6.449 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.002505/0.002505, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.553/1.553, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.78/2.78, allocations: 476.7 MB / 0.7672 GB, free: 5.25 MB / 0.6231 GB " [Timeout remaining time 177] 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.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.003483/0.003483, allocations: 67.88 kB / 1.112 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9432/0.9467, allocations: 169.9 MB / 1.278 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.00291/0.9496, allocations: 1.529 MB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.9512, allocations: 0.8039 MB / 1.281 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.9513, allocations: 8 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.9513, allocations: 3.938 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.162e-05/0.9514, allocations: 7.875 kB / 1.281 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.952, allocations: 139.5 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.9521, allocations: 71.83 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.9522, allocations: 15.91 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.9524, allocations: 47.84 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.9525, allocations: 35.89 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.9525, allocations: 11.94 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.9527, allocations: 111.9 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.9527, allocations: 15.97 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.9528, allocations: 39.78 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.953, allocations: 149.5 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.953, allocations: 0 / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.953, allocations: 0 / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.9531, allocations: 0 / 1.281 GB, free: 10.46 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.0006871/0.9537, allocations: 428.6 kB / 1.282 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.9538, allocations: 12.03 kB / 1.282 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.9538, allocations: 38.75 kB / 1.282 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.9541, allocations: 28.91 kB / 1.282 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.9544, allocations: 186.8 kB / 1.282 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.9545, allocations: 8.359 kB / 1.282 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.9545, allocations: 4.375 kB / 1.282 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.9547, allocations: 73.53 kB / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9547, allocations: 4 kB / 1.282 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.9547, allocations: 3.984 kB / 1.282 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.9547, allocations: 4 kB / 1.282 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.9549, allocations: 31.98 kB / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.9555, allocations: 316.7 kB / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.9557, allocations: 54.44 kB / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.9558, allocations: 24.97 kB / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.9558, allocations: 8 kB / 1.282 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.956, allocations: 79.3 kB / 1.282 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.956, allocations: 0 / 1.282 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004323/0.9564, allocations: 145.7 kB / 1.283 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.9564, allocations: 59.33 kB / 1.283 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.9566, allocations: 122.1 kB / 1.283 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.9566, allocations: 29.7 kB / 1.283 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.9567, allocations: 96.08 kB / 1.283 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.9567, allocations: 11.91 kB / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.9567, allocations: 25.7 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.9569, allocations: 326.8 kB / 1.283 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.957, allocations: 27.98 kB / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.9571, allocations: 46.56 kB / 1.283 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.9573, allocations: 74.48 kB / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9573, allocations: 4 kB / 1.283 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002521/0.9575, allocations: 117.5 kB / 1.283 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.9575, allocations: 4 kB / 1.283 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9575, allocations: 0 / 1.283 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.9576, allocations: 4 kB / 1.283 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.9577, allocations: 11.98 kB / 1.283 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.9577, allocations: 0 / 1.283 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.9577, allocations: 7.938 kB / 1.283 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.9577, allocations: 8 kB / 1.283 GB, free: 7.824 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.0001214/0.9579, allocations: 133.8 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.9579, allocations: 7.953 kB / 1.284 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.9579, allocations: 4.375 kB / 1.284 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.9579, allocations: 4 kB / 1.284 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.9579, allocations: 0 / 1.284 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9579, allocations: 0 / 1.284 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/0.9585, allocations: 386.4 kB / 1.284 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9585, allocations: 0 / 1.284 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.9585, allocations: 11.92 kB / 1.284 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.9585, allocations: 0 / 1.284 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.9585, allocations: 4 kB / 1.284 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.9585, allocations: 3.938 kB / 1.284 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9585, allocations: 4 kB / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.9589, allocations: 211.5 kB / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.9589, allocations: 85.06 kB / 1.284 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.9589, allocations: 0 / 1.284 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.959, allocations: 7.938 kB / 1.284 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.9591, allocations: 7.922 kB / 1.284 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.9591, allocations: 8 kB / 1.284 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.682e-05/0.9592, allocations: 95.64 kB / 1.284 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9592, allocations: 0 / 1.284 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003482/0.9595, allocations: 43.92 kB / 1.284 GB, free: 6.723 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.0008882/0.9604, allocations: 0.7982 MB / 1.285 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.9606, allocations: 79.88 kB / 1.285 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9606, allocations: 4 kB / 1.285 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.3e-05/0.9607, allocations: 23.98 kB / 1.285 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.961, allocations: 15.92 kB / 1.285 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.9629, allocations: 1.507 MB / 1.287 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.9633, allocations: 0.6885 MB / 1.287 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.701e-05/0.9633, allocations: 7.938 kB / 1.287 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.9634, allocations: 23.42 kB / 1.288 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.9634, allocations: 4 kB / 1.288 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.9885, allocations: 2.699 MB / 1.29 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/9.42, allocations: 12.69 kB / 1.29 GB, free: 0.8672 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_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_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_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.761982606956735]