Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009249/0.009249, allocations: 102.5 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002384/0.002384, allocations: 196.3 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 62.5 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.267, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00261/0.2697, allocations: 1.501 MB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.271, allocations: 0.7337 MB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.2711, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.2711, allocations: 7.922 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.2712, allocations: 11.88 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.2718, allocations: 119.6 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2719, allocations: 75.83 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.272, allocations: 19.97 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.33e-05/0.2721, allocations: 39.86 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.251e-05/0.2722, allocations: 43.81 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.2722, allocations: 8 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.2724, allocations: 87.91 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.2725, allocations: 15.92 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.2725, allocations: 31.86 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.2727, allocations: 146.4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.2728, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2728, allocations: 4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.2728, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 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.0006438/0.2734, allocations: 427.5 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2735, allocations: 8.031 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.2735, allocations: 30.75 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.2736, allocations: 12.78 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2737, allocations: 180.2 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.2737, allocations: 8.375 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.2737, allocations: 4.375 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.2739, allocations: 73.72 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.274, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.274, allocations: 4 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.274, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.2741, allocations: 39.97 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.2748, allocations: 308.8 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.2749, allocations: 54.5 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.843e-05/0.275, allocations: 36.95 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.275, allocations: 80 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.2752, allocations: 79.36 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2753, allocations: 4 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004507/0.2757, allocations: 141.5 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.2758, allocations: 51.41 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/0.2759, allocations: 121.8 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2759, allocations: 29.69 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.276, allocations: 96.05 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.276, allocations: 11.81 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.276, allocations: 33.7 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2762, allocations: 322.8 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.2762, allocations: 27.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.2764, allocations: 51.41 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.2765, allocations: 87.34 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2765, allocations: 3.938 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00025/0.2768, allocations: 113.6 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2768, allocations: 8 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2768, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2768, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.277, allocations: 15.92 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.277, allocations: 8.062 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.2771, allocations: 7.906 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.2771, allocations: 4 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001059/0.2772, allocations: 127.7 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.2772, allocations: 7.906 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.2772, allocations: 8.359 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2772, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2773, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2773, allocations: 4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.2777, allocations: 382.4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2778, allocations: 3.938 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.2778, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2778, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.2778, allocations: 3.984 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2778, allocations: 3.938 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2778, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.2781, allocations: 219.3 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.2782, allocations: 81.02 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.2782, allocations: 7.984 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.128e-05/0.2783, allocations: 8 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.2784, allocations: 7.984 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2784, allocations: 8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.722e-05/0.2785, allocations: 99.86 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.733e-06/0.2785, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003269/0.2788, allocations: 39.94 kB / 1.093 GB, free: 11.43 MB / 0.8575 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,occ.y,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.0008252/0.2796, allocations: 0.8016 MB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.2799, allocations: 75.83 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2799, allocations: 4 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.28, allocations: 31.98 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.2803, allocations: 3.938 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.282, allocations: 1.502 MB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.2823, allocations: 0.6924 MB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.081e-05/0.2823, allocations: 4 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.2824, allocations: 23.42 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.2824, allocations: 0 / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.3017, allocations: 2.636 MB / 1.099 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/7.633, allocations: 17.72 kB / 1.099 GB, free: 5.625 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[553]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! " Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:time,win.TIn,win.p,TIn.amplitude,TIn.f,TIn.offset