Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.005077/0.005077, allocations: 100.9 kB / 15.73 MB, free: 6.027 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.001187/0.001188, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.604/2.604, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2976, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002807/0.3004, allocations: 1.496 MB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3018, allocations: 0.7323 MB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.3019, allocations: 4 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.302, allocations: 3.938 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.377e-05/0.3021, allocations: 7.875 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00066/0.3027, allocations: 127.6 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3029, allocations: 75.7 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.303, allocations: 19.98 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.3031, allocations: 31.91 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.3032, allocations: 39.83 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3032, allocations: 8 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.3034, allocations: 95.84 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.3035, allocations: 15.98 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.3035, allocations: 31.86 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.3038, allocations: 142.5 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.058e-05/0.3038, allocations: 3.938 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3039, allocations: 7.938 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3039, allocations: 0 / 1.169 GB, free: 4.438 MB / 0.92 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.0006517/0.3045, allocations: 413.8 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3046, allocations: 8.031 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.3046, allocations: 38.67 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.3047, allocations: 8.844 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3048, allocations: 180.2 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3048, allocations: 4.375 kB / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.3048, allocations: 4.375 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.305, allocations: 77.77 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.3051, allocations: 4 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3051, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3051, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3052, allocations: 35.97 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.3058, allocations: 316.7 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.306, allocations: 50.55 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.999e-05/0.3061, allocations: 32.97 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3061, allocations: 4 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.3063, allocations: 83.3 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.3063, allocations: 4 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003961/0.3067, allocations: 133.6 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3068, allocations: 51.41 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3069, allocations: 133.6 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3069, allocations: 29.7 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.307, allocations: 88.14 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.307, allocations: 19.8 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.3071, allocations: 29.72 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3072, allocations: 318.8 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.3073, allocations: 27.98 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.3074, allocations: 55.78 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3075, allocations: 79.41 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3076, allocations: 0 / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00024/0.3078, allocations: 117.4 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.3078, allocations: 8 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3078, allocations: 0 / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3079, allocations: 64 / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.308, allocations: 19.98 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.308, allocations: 4.062 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.3081, allocations: 8 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.3081, allocations: 4.047 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001008/0.3082, allocations: 133.6 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.3082, allocations: 7.906 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.3082, allocations: 12.31 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3083, allocations: 4 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3083, allocations: 4 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3083, allocations: 0 / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.3087, allocations: 378.4 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3087, allocations: 0 / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.3088, allocations: 7.984 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3088, allocations: 0 / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3088, allocations: 7.938 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3088, allocations: 3.938 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3088, allocations: 4 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3091, allocations: 207.4 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.3091, allocations: 85.02 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3092, allocations: 0 / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.3093, allocations: 11.94 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3093, allocations: 3.984 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.3093, allocations: 4 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.756e-05/0.3094, allocations: 103.4 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3094, allocations: 0 / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003089/0.3097, allocations: 39.98 kB / 1.172 GB, free: 0.7344 MB / 0.92 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,occ.y,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.0008522/0.3106, allocations: 0.7975 MB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3108, allocations: 75.89 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3109, allocations: 0 / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.311, allocations: 35.92 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.3112, allocations: 18.08 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.313, allocations: 1.498 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3133, allocations: 0.6924 MB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.145e-05/0.3134, allocations: 8.078 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.3134, allocations: 23.42 kB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of SimCode: time 1.593e-06/0.3134, allocations: 0 / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.3339, allocations: 2.634 MB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.187, allocations: 11.08 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,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.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed