Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Zhang2012WindowsAll,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.004389/0.004389, allocations: 101 kB / 15.73 MB, free: 6.062 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.001232/0.001231, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.91 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8056, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002816/0.8085, allocations: 1.509 MB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.8099, allocations: 0.7284 MB / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.8099, allocations: 0 / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.81, allocations: 7.922 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.8101, allocations: 7.875 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.8106, allocations: 131.6 kB / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.8108, allocations: 67.78 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.8109, allocations: 15.98 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.758e-05/0.811, allocations: 35.84 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.318e-05/0.811, allocations: 39.83 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.8111, allocations: 8 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.8113, allocations: 91.91 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.8113, allocations: 23.91 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.8114, allocations: 31.86 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.8116, allocations: 143.2 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8117, allocations: 0 / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8117, allocations: 0 / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.8117, allocations: 0 / 1.169 GB, free: 0.9102 MB / 0.8887 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.0007186/0.8124, allocations: 424.7 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.8124, allocations: 8.922 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.8125, allocations: 34.73 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.8125, allocations: 12.89 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.8127, allocations: 168.3 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.8127, allocations: 8.375 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.8128, allocations: 4.375 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.813, allocations: 77.7 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.813, allocations: 4 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.813, allocations: 3.984 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.813, allocations: 0 / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.8132, allocations: 35.92 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.8138, allocations: 324.6 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.814, allocations: 50.5 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.8141, allocations: 32.97 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.8141, allocations: 4 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.8143, allocations: 71.38 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.8143, allocations: 0 / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004587/0.8148, allocations: 141.7 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.8148, allocations: 63.33 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.815, allocations: 113.8 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.815, allocations: 37.7 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.8151, allocations: 92.08 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.8151, allocations: 15.91 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.8151, allocations: 25.7 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8153, allocations: 322.8 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.8154, allocations: 27.97 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.8155, allocations: 50.56 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.8157, allocations: 70.48 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8157, allocations: 4 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002466/0.8159, allocations: 113.5 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.816, allocations: 8 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.816, allocations: 4.062 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.816, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.287e-05/0.8161, allocations: 8 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.8161, allocations: 7.984 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.8162, allocations: 15.86 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.8162, allocations: 4 kB / 1.171 GB, free: 14.31 MB / 0.9044 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.0001149/0.8163, allocations: 127.2 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.8164, allocations: 7.953 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.8164, allocations: 12.36 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.8164, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8164, allocations: 4 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8164, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.8169, allocations: 378.4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8169, allocations: 4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.817, allocations: 3.938 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.817, allocations: 4 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.817, allocations: 7.984 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.817, allocations: 3.938 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.817, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.8173, allocations: 212 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.8174, allocations: 81.06 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.8174, allocations: 3.984 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.8175, allocations: 11.88 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.8175, allocations: 11.98 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.8175, allocations: 4 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.697e-05/0.8176, allocations: 95.27 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8176, allocations: 0 / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003007/0.8179, allocations: 39.88 kB / 1.172 GB, free: 13.22 MB / 0.9044 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.0008392/0.8188, allocations: 0.8059 MB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.819, allocations: 75.88 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.819, allocations: 0 / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.8191, allocations: 36.11 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.8194, allocations: 7.938 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.8211, allocations: 1.485 MB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.8215, allocations: 0.6962 MB / 1.175 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.8215, allocations: 7.984 kB / 1.175 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.8216, allocations: 19.44 kB / 1.175 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.8216, allocations: 0 / 1.175 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.8442, allocations: 2.651 MB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.779, allocations: 3.109 kB / 1.178 GB, free: 7.434 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv failed! " 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