Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_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.008687/0.008687, allocations: 102 kB / 15.73 MB, free: 6.039 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.001872/0.001872, allocations: 194.9 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 4.141 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.516/2.516, allocations: 390.2 MB / 0.6648 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 62.62 kB / 0.9504 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3126, allocations: 140.4 MB / 1.087 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002575/0.3152, allocations: 1.492 MB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3165, allocations: 0.7299 MB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.3165, allocations: 3.828 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.3166, allocations: 7.875 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.3166, allocations: 11.88 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.3172, allocations: 123.6 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3173, allocations: 75.83 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.3174, allocations: 11.98 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.964e-05/0.3175, allocations: 47.83 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.3176, allocations: 35.84 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3176, allocations: 8 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.3178, allocations: 87.91 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.3178, allocations: 27.89 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.3179, allocations: 31.86 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.3181, allocations: 142.4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3181, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3181, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3181, allocations: 0 / 1.09 GB, free: 15.27 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.0006134/0.3187, allocations: 413.8 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3188, allocations: 12.03 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.3188, allocations: 34.73 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.3189, allocations: 8.844 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.319, allocations: 184.2 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.319, allocations: 8.375 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3191, allocations: 4.375 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3192, allocations: 69.72 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3193, allocations: 3.984 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3193, allocations: 4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.3193, allocations: 4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.3194, allocations: 31.98 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.32, allocations: 316.8 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3202, allocations: 50.5 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.3203, allocations: 32.97 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.3203, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3205, allocations: 79.38 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3205, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003928/0.3209, allocations: 145.8 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3209, allocations: 55.41 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.321, allocations: 125.8 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.321, allocations: 29.7 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.3211, allocations: 96.05 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3211, allocations: 15.8 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.3212, allocations: 25.7 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3213, allocations: 322.8 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.3214, allocations: 35.91 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.562e-05/0.3215, allocations: 51.42 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.3217, allocations: 87.33 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3217, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002368/0.3219, allocations: 113.5 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3219, allocations: 6.406 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.322, allocations: 8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.322, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.3221, allocations: 15.92 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3221, allocations: 4 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/0.3222, allocations: 11.91 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.3222, allocations: 7.984 kB / 1.093 GB, free: 12.64 MB / 0.8575 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 9.046e-05/0.3223, allocations: 121.7 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.3223, allocations: 11.91 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.3223, allocations: 8.375 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3223, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3223, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3224, allocations: 3.984 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.3228, allocations: 378.4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3228, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.3228, allocations: 3.984 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3229, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3229, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3229, allocations: 3.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3229, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.3232, allocations: 215.3 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.3232, allocations: 81.02 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.3232, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.3233, allocations: 11.92 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.3234, allocations: 12 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.3234, allocations: 64 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.3234, allocations: 95.27 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3235, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003246/0.3238, allocations: 43.92 kB / 1.093 GB, free: 11.56 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,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.0007443/0.3245, allocations: 0.8043 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.3248, allocations: 71.89 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3248, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3249, allocations: 36.11 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.3252, allocations: 16.39 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.3267, allocations: 1.503 MB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.327, allocations: 0.6885 MB / 1.097 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.327, allocations: 7.75 kB / 1.097 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.3271, allocations: 23.42 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3271, allocations: 0 / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.3472, allocations: 2.683 MB / 1.099 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.094, allocations: 5.812 kB / 1.099 GB, free: 5.711 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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