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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.489/2.489, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.83 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7822, allocations: 168.7 MB / 1.271 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002115/0.7843, allocations: 1.521 MB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009935/0.7853, allocations: 0.7433 MB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.7854, allocations: 0.8438 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.7854, allocations: 4.922 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.7854, allocations: 14.78 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.7859, allocations: 120.8 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.786, allocations: 81.69 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.204e-05/0.786, allocations: 13.36 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.7861, allocations: 31.53 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.7862, allocations: 44.34 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.7862, allocations: 6.469 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.7864, allocations: 105 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.7864, allocations: 19.98 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.7864, allocations: 31.61 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.7866, allocations: 134.7 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7866, allocations: 2.438 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7866, allocations: 0 / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.7866, allocations: 0 / 1.274 GB, free: 5.754 MB / 0.9981 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.0004618/0.7871, allocations: 426.7 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.7871, allocations: 9.625 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.626e-05/0.7871, allocations: 42.28 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.7872, allocations: 8.453 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.347e-05/0.7872, allocations: 168.2 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.7873, allocations: 6.75 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.7873, allocations: 5.031 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.7874, allocations: 72.8 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.7874, allocations: 0 / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.7874, allocations: 4.906 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.7874, allocations: 1 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.7876, allocations: 36.03 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.788, allocations: 323.1 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.7881, allocations: 46.73 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.243e-05/0.7882, allocations: 26.61 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.7882, allocations: 6.297 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.7883, allocations: 88.86 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7883, allocations: 0 / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003524/0.7887, allocations: 133.3 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.7887, allocations: 61.86 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.7888, allocations: 127.2 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.7888, allocations: 26.52 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.7888, allocations: 89.28 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.7888, allocations: 15.62 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.7889, allocations: 29.23 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.854e-05/0.7889, allocations: 323.4 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/0.789, allocations: 28.73 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.7891, allocations: 48.73 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.7892, allocations: 68.53 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7892, allocations: 0.8125 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002062/0.7894, allocations: 115.7 kB / 1.276 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.7894, allocations: 8.406 kB / 1.276 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7894, allocations: 1.594 kB / 1.276 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7895, allocations: 0.8438 kB / 1.276 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.509e-05/0.7895, allocations: 16.14 kB / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7895, allocations: 0.8438 kB / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.7896, allocations: 13.09 kB / 1.276 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.7896, allocations: 10.09 kB / 1.276 GB, free: 3.719 MB / 0.9981 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 5.327e-05/0.7897, allocations: 122.8 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.7897, allocations: 7.516 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.7897, allocations: 13.97 kB / 1.277 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7897, allocations: 0.6562 kB / 1.277 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.7897, allocations: 2.703 kB / 1.277 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7897, allocations: 0 / 1.277 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.79, allocations: 385.4 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.79, allocations: 5 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.7901, allocations: 10.48 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7901, allocations: 0.6875 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.7901, allocations: 5.5 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7901, allocations: 4.594 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.7901, allocations: 0 / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.7903, allocations: 212 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.7903, allocations: 83.14 kB / 1.277 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.7903, allocations: 2.25 kB / 1.277 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.7904, allocations: 12.27 kB / 1.277 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.7905, allocations: 6.125 kB / 1.277 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.7905, allocations: 1.531 kB / 1.277 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.272e-05/0.7905, allocations: 93.14 kB / 1.277 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7905, allocations: 0 / 1.277 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002655/0.7908, allocations: 44.33 kB / 1.277 GB, free: 2.855 MB / 0.9981 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.0005552/0.7913, allocations: 0.805 MB / 1.278 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.7915, allocations: 70.22 kB / 1.278 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7915, allocations: 4.875 kB / 1.278 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.7916, allocations: 35.84 kB / 1.278 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.7918, allocations: 8.328 kB / 1.278 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.7932, allocations: 1.505 MB / 1.28 GB, free: 16.78 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.7935, allocations: 0.6939 MB / 1.28 GB, free: 16.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.05e-05/0.7936, allocations: 5.188 kB / 1.28 GB, free: 16.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.7936, allocations: 24.73 kB / 1.28 GB, free: 16.05 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.7936, allocations: 0 / 1.28 GB, free: 16.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.8181, allocations: 2.641 MB / 1.283 GB, free: 15.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/7.968, allocations: 7.547 kB / 1.283 GB, free: 15.55 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.35050464500091]