Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.007522/0.007522, allocations: 99.56 kB / 15.73 MB, free: 6.422 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.001576/0.001576, allocations: 195.3 kB / 16.67 MB, free: 6.34 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.56/2.56, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 66.56 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.264, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002646/0.2667, allocations: 1.505 MB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2681, allocations: 0.7532 MB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.2682, allocations: 7.875 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.2683, allocations: 3.938 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.2683, allocations: 7.875 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.2689, allocations: 139.6 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.2691, allocations: 103.8 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.2692, allocations: 19.97 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.2693, allocations: 51.83 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.2694, allocations: 47.83 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2694, allocations: 8 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.2696, allocations: 99.84 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.2696, allocations: 27.95 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.2697, allocations: 39.78 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.2699, allocations: 170.4 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2699, allocations: 8 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2699, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.27, allocations: 0 / 1.09 GB, free: 15.02 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006595/0.2706, allocations: 455.5 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2707, allocations: 8.031 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.2707, allocations: 42.69 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.2708, allocations: 8.844 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2709, allocations: 176.2 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.2709, allocations: 12.38 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.271, allocations: 4.375 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.2712, allocations: 101.6 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2712, allocations: 3.984 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2712, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2713, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.2714, allocations: 51.95 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/0.2722, allocations: 340.7 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.2723, allocations: 62.48 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.2725, allocations: 45 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2725, allocations: 7.984 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.2727, allocations: 95.34 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.2727, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005305/0.2733, allocations: 193.4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.2733, allocations: 55.41 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.2734, allocations: 136.1 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2734, allocations: 25.7 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.2735, allocations: 96.05 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.2735, allocations: 27.72 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.2736, allocations: 25.72 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.2737, allocations: 322.8 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.2738, allocations: 35.97 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.408e-05/0.2739, allocations: 60.28 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.274, allocations: 96.2 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.274, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002595/0.2743, allocations: 133.4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2743, allocations: 5.562 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2743, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2744, allocations: 4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.2745, allocations: 15.92 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.2745, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.2746, allocations: 12.09 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.2746, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.799e-05/0.2747, allocations: 127.6 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.2747, allocations: 7.891 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.2747, allocations: 12.38 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2747, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2748, allocations: 4.062 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2748, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.2753, allocations: 442.2 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2753, allocations: 3.938 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.2754, allocations: 4 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2754, allocations: 0 / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2754, allocations: 3.984 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2754, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2754, allocations: 3.938 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.2758, allocations: 243.4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.2758, allocations: 88.95 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.2759, allocations: 4 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.276, allocations: 7.984 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.276, allocations: 11.92 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.276, allocations: 4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.173e-05/0.2761, allocations: 102.5 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2761, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002935/0.2764, allocations: 43.98 kB / 1.094 GB, free: 10.95 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000805/0.2772, allocations: 0.8395 MB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.2775, allocations: 96.41 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2775, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.2777, allocations: 52.16 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.2779, allocations: 16.02 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.2795, allocations: 1.583 MB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.2797, allocations: 0.6924 MB / 1.097 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.2797, allocations: 8 kB / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.2798, allocations: 23.42 kB / 1.097 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.2798, allocations: 0 / 1.097 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1847/0.4645, allocations: 3.029 MB / 1.1 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.651, allocations: 18.55 kB / 1.1 GB, free: 4.578 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed