Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.006774/0.006774, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.001202/0.001202, allocations: 197.2 kB / 16.67 MB, free: 5.527 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.171/2.171, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 60.09 kB / 0.9504 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7562/0.7573, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002199/0.7595, allocations: 1.501 MB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.7606, allocations: 0.7244 MB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.7607, allocations: 4.906 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.7607, allocations: 4.734 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.195e-05/0.7608, allocations: 14.86 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.7613, allocations: 124.6 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.7614, allocations: 73.62 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.7615, allocations: 11.75 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.505e-05/0.7616, allocations: 38.36 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.7617, allocations: 37.66 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.7617, allocations: 7.312 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.7619, allocations: 93.69 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.7619, allocations: 19 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.7619, allocations: 31.7 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.7622, allocations: 145.2 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7622, allocations: 0 / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7622, allocations: 0 / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7622, allocations: 0 / 1.09 GB, free: 3.488 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.0005257/0.7628, allocations: 427 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.7628, allocations: 9.125 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.7628, allocations: 33.17 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.7629, allocations: 9.359 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.656e-05/0.763, allocations: 170.5 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.763, allocations: 6.875 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.763, allocations: 4.438 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.7632, allocations: 75.75 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.7632, allocations: 1.156 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.7632, allocations: 8 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.7632, allocations: 1.656 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.7634, allocations: 39.45 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.7639, allocations: 314.9 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.764, allocations: 57.44 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.7641, allocations: 32.55 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.7641, allocations: 1.797 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.7643, allocations: 72.75 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.7643, allocations: 0 / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003936/0.7647, allocations: 149.6 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.7647, allocations: 53.62 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.7648, allocations: 119.7 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.7648, allocations: 30.8 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.7649, allocations: 91.8 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.7649, allocations: 16.03 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.7649, allocations: 25.66 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.765, allocations: 326.4 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/0.7651, allocations: 32.36 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.231e-05/0.7652, allocations: 46.61 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.7654, allocations: 72.09 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7654, allocations: 0.7812 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002345/0.7656, allocations: 112.2 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7656, allocations: 6.062 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7656, allocations: 1.641 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.7657, allocations: 0.9375 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.7658, allocations: 11.05 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.7658, allocations: 1.531 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.7658, allocations: 12.75 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.7659, allocations: 4.172 kB / 1.092 GB, free: 1.465 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 7.72e-05/0.7659, allocations: 132.6 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.766, allocations: 7.188 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.766, allocations: 6.859 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.766, allocations: 5.125 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.766, allocations: 1.094 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.766, allocations: 0.7969 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.7664, allocations: 382.2 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7665, allocations: 4.781 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.7665, allocations: 4.578 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7665, allocations: 1.219 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.7665, allocations: 2.719 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7665, allocations: 3.938 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7665, allocations: 1.062 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.7668, allocations: 219.9 kB / 1.093 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.7668, allocations: 83.41 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.7669, allocations: 9.844 kB / 1.093 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.7669, allocations: 8.297 kB / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.767, allocations: 5.516 kB / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.767, allocations: 2.469 kB / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.7671, allocations: 100.6 kB / 1.093 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7671, allocations: 0 / 1.093 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002948/0.7674, allocations: 42.36 kB / 1.093 GB, free: 0.5938 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.0007395/0.7681, allocations: 0.7972 MB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.7684, allocations: 76.92 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7684, allocations: 0 / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.7685, allocations: 34.03 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.7687, allocations: 11.08 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.7703, allocations: 1.497 MB / 1.096 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.7706, allocations: 0.6869 MB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.7706, allocations: 8.266 kB / 1.096 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.7707, allocations: 21.28 kB / 1.097 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.7707, allocations: 4 kB / 1.097 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.851/4.621, allocations: 2.642 MB / 1.099 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/13.16, allocations: 6.953 kB / 1.099 GB, free: 13.34 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed