Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001428/0.001428, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.00143/0.00143, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.293/1.293, allocations: 225.6 MB / 249.3 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.325/2.325, allocations: 443.5 MB / 0.7304 GB, free: 14.1 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.89 kB / 1.059 GB, free: 1.039 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2651, allocations: 160.7 MB / 1.216 GB, free: 0 / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002597/0.2677, allocations: 1.514 MB / 1.217 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.269, allocations: 0.7486 MB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.269, allocations: 3.938 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.269, allocations: 7.922 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.2691, allocations: 15.86 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.2696, allocations: 127.6 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.2697, allocations: 71.78 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.725e-05/0.2698, allocations: 12.27 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.55e-05/0.2699, allocations: 35.91 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.27, allocations: 35.89 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.27, allocations: 11.94 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.2702, allocations: 99.83 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.2702, allocations: 19.97 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.2702, allocations: 31.86 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.2705, allocations: 147.4 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2705, allocations: 4 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2705, allocations: 0 / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2705, allocations: 3.938 kB / 1.218 GB, free: 13.1 MB / 0.9669 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.0006045/0.2711, allocations: 420.7 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2711, allocations: 12.03 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.2712, allocations: 38.75 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.2712, allocations: 12.83 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2713, allocations: 172.3 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.2713, allocations: 8.359 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.2714, allocations: 4.375 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.2715, allocations: 77.77 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2715, allocations: 0 / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2716, allocations: 3.938 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2716, allocations: 0 / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.2717, allocations: 39.97 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.2723, allocations: 312.8 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.2724, allocations: 42.56 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.985e-05/0.2724, allocations: 28.97 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2725, allocations: 3.938 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.2727, allocations: 79.38 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.2727, allocations: 0 / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003776/0.273, allocations: 145.6 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.2731, allocations: 51.41 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2732, allocations: 121.8 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.2732, allocations: 29.7 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.2732, allocations: 100 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.2733, allocations: 23.78 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.2733, allocations: 29.7 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2734, allocations: 322.8 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.2735, allocations: 27.98 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.791e-05/0.2736, allocations: 42.56 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.2738, allocations: 78.84 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2738, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002369/0.274, allocations: 117.5 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.274, allocations: 5.406 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.274, allocations: 4 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.274, allocations: 0 / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.2741, allocations: 20.05 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2741, allocations: 0 / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.2742, allocations: 4 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2742, allocations: 4 kB / 1.221 GB, free: 10.51 MB / 0.9669 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 9.315e-05/0.2743, allocations: 121.8 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.2743, allocations: 7.953 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.2743, allocations: 8.375 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-06/0.2743, allocations: 7.938 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2743, allocations: 4 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2743, allocations: 0 / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.2748, allocations: 382.4 kB / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2748, allocations: 7.922 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.2748, allocations: 7.984 kB / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2748, allocations: 0 / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2749, allocations: 4 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2749, allocations: 11.88 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2749, allocations: 7.938 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.2751, allocations: 207.5 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.2752, allocations: 85.06 kB / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2752, allocations: 0 / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.2753, allocations: 7.938 kB / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.2753, allocations: 3.984 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2753, allocations: 4 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.2754, allocations: 99.27 kB / 1.222 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2754, allocations: 0 / 1.222 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002752/0.2757, allocations: 31.94 kB / 1.222 GB, free: 9.418 MB / 0.9669 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.0008185/0.2765, allocations: 0.8004 MB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.2767, allocations: 76.12 kB / 1.222 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2767, allocations: 0 / 1.222 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.2768, allocations: 35.97 kB / 1.222 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.277, allocations: 11.94 kB / 1.222 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.2787, allocations: 1.486 MB / 1.224 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.279, allocations: 0.6807 MB / 1.225 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.279, allocations: 11.98 kB / 1.225 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.279, allocations: 19.44 kB / 1.225 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.279, allocations: 0 / 1.225 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.3044, allocations: 2.645 MB / 1.227 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.385, allocations: 8.109 kB / 1.227 GB, free: 3.609 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.on from file Buildings_10_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: 12.606056635006098]