Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.006999/0.006999, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001608/0.001608, allocations: 201.7 kB / 16.68 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 66.38 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2542, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002753/0.257, allocations: 1.497 MB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.2586, allocations: 0.7259 MB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.976e-05/0.2587, allocations: 3.938 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.2588, allocations: 3.938 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.2589, allocations: 11.94 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007455/0.2596, allocations: 123.5 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.2598, allocations: 75.81 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2599, allocations: 11.98 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.2601, allocations: 31.92 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.259e-05/0.2601, allocations: 43.81 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.2602, allocations: 8 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.2604, allocations: 99.84 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.2605, allocations: 19.92 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.2605, allocations: 31.86 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.2608, allocations: 135.8 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2608, allocations: 3.938 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2609, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.2609, allocations: 0 / 1.09 GB, free: 15.2 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.0007411/0.2616, allocations: 428.7 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2617, allocations: 15.97 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.2617, allocations: 34.75 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.2618, allocations: 8.891 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2619, allocations: 180.2 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2619, allocations: 384 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2619, allocations: 4.375 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.2621, allocations: 73.78 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2622, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2622, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2622, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2623, allocations: 43.91 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.2629, allocations: 312.7 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.2631, allocations: 46.56 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.2632, allocations: 36.97 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.2632, allocations: 8.047 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.2635, allocations: 83.31 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.2635, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004268/0.2639, allocations: 137.8 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.264, allocations: 55.41 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.2641, allocations: 121.8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.2641, allocations: 29.69 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.2642, allocations: 88.14 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.2642, allocations: 19.83 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.2643, allocations: 33.7 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2644, allocations: 322.8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.2645, allocations: 27.92 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.2646, allocations: 46.56 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.2648, allocations: 74.61 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2648, allocations: 3.938 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002467/0.265, allocations: 117.5 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.265, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2651, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2651, allocations: 3.938 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.2652, allocations: 11.98 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2652, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.2653, allocations: 11.95 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.2653, allocations: 4 kB / 1.093 GB, free: 12.59 MB / 0.8575 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.379e-05/0.2654, allocations: 125.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.2654, allocations: 7.953 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.2655, allocations: 8.375 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.2655, allocations: 4 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2655, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2655, allocations: 3.938 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.2659, allocations: 378.4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.266, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.266, allocations: 11.98 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.266, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.266, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.266, allocations: 7.938 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.266, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.2663, allocations: 211.4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.2664, allocations: 89 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.2664, allocations: 4 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.128e-05/0.2665, allocations: 7.938 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.2666, allocations: 7.984 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.2666, allocations: 4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.811e-05/0.2666, allocations: 91.92 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.973e-06/0.2666, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000317/0.267, allocations: 43.86 kB / 1.093 GB, free: 11.5 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,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.000759/0.2677, allocations: 0.8096 MB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.268, allocations: 79.95 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.268, allocations: 0 / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.861e-05/0.2681, allocations: 31.98 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.2684, allocations: 18.27 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.27, allocations: 1.483 MB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.2702, allocations: 0.6885 MB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.2702, allocations: 7.75 kB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.2703, allocations: 19.44 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.2703, allocations: 0 / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.2891, allocations: 2.635 MB / 1.099 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/7.696, allocations: 10.38 kB / 1.099 GB, free: 5.719 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_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_Zhang2012WindowsSouth.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_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