Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.Zhang2012WindowsEast,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.007142/0.007143, allocations: 96.97 kB / 15.73 MB, free: 6.031 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.001835/0.001835, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.709/2.709, allocations: 469.4 MB / 0.7421 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 60.12 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.294, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002874/0.2969, allocations: 1.495 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.2984, allocations: 0.7362 MB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.2985, allocations: 0 / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.2986, allocations: 7.922 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.501e-05/0.2986, allocations: 11.88 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006293/0.2993, allocations: 127.5 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.2994, allocations: 67.84 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2995, allocations: 23.92 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.2996, allocations: 31.92 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.2997, allocations: 43.81 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2997, allocations: 7.938 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.2999, allocations: 95.91 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.3, allocations: 19.92 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.3, allocations: 23.86 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.3003, allocations: 147.5 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.3003, allocations: 0 / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3003, allocations: 0 / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.3003, allocations: 0 / 1.222 GB, free: 11.8 MB / 0.9825 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.0006484/0.301, allocations: 420.7 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.301, allocations: 8.031 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.3011, allocations: 38.73 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.3011, allocations: 8.891 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3012, allocations: 172.3 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3013, allocations: 12.31 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.3013, allocations: 4.375 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.3015, allocations: 69.78 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3015, allocations: 11.86 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3016, allocations: 4 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3016, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3017, allocations: 31.98 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.3023, allocations: 320.7 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3025, allocations: 46.56 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.514e-05/0.3026, allocations: 36.91 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3026, allocations: 0 / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.3028, allocations: 83.44 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.3028, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003929/0.3032, allocations: 133.6 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3033, allocations: 59.39 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.3034, allocations: 121.8 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3034, allocations: 33.64 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.3034, allocations: 92.12 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.3035, allocations: 15.91 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.3035, allocations: 25.7 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.3036, allocations: 322.8 kB / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.3037, allocations: 31.97 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.3038, allocations: 42.56 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.304, allocations: 78.48 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.304, allocations: 0 / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002493/0.3042, allocations: 117.5 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3043, allocations: 5.875 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3043, allocations: 0 / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3043, allocations: 7.938 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.831e-05/0.3044, allocations: 20.05 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3044, allocations: 0 / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.3045, allocations: 7.938 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3045, allocations: 4 kB / 1.225 GB, free: 9.203 MB / 0.9825 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.725e-05/0.3046, allocations: 122.3 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.3047, allocations: 11.89 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.3047, allocations: 8.359 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3047, allocations: 4 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3047, allocations: 7.984 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3047, allocations: 0 / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.3052, allocations: 382.8 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3052, allocations: 0 / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.3052, allocations: 4 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3052, allocations: 3.938 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3052, allocations: 3.984 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3053, allocations: 7.875 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3053, allocations: 4 kB / 1.225 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.3055, allocations: 207.6 kB / 1.225 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.3056, allocations: 85.06 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.3056, allocations: 3.984 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.3057, allocations: 3.938 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3058, allocations: 7.984 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3058, allocations: 4 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.3058, allocations: 99.92 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3058, allocations: 0 / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003036/0.3061, allocations: 39.88 kB / 1.226 GB, free: 8.105 MB / 0.9825 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.0007983/0.3069, allocations: 0.808 MB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.3072, allocations: 75.88 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3072, allocations: 4 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.3073, allocations: 35.92 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.3076, allocations: 4.062 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.3092, allocations: 1.503 MB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.3094, allocations: 0.69 MB / 1.229 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.3094, allocations: 7.984 kB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.3095, allocations: 15.44 kB / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3095, allocations: 0 / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.3271, allocations: 2.656 MB / 1.231 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.832, allocations: 18.59 kB / 1.231 GB, free: 2.312 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_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