Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_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.000938/0.000938, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005166/0.005166, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 462.7 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 7.75 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2458, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00149/0.2473, allocations: 1.225 MB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2485, allocations: 0.7168 MB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.2486, allocations: 4 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.2486, allocations: 0 / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.2486, allocations: 15.86 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.2491, allocations: 103.8 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.2492, allocations: 71.78 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.558e-05/0.2493, allocations: 4 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/0.2494, allocations: 35.91 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/0.2495, allocations: 35.83 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.2495, allocations: 4 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.2497, allocations: 95.84 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.2497, allocations: 15.92 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.2498, allocations: 57.55 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.25, allocations: 135.9 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.25, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.25, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.25, allocations: 3.938 kB / 1.061 GB, free: 2.391 MB / 0.8106 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.0005208/0.2505, allocations: 405 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2506, allocations: 15.97 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.2506, allocations: 34.75 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.2506, allocations: 4.938 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.2507, allocations: 184.1 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.2508, allocations: 384 / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.2508, allocations: 8.375 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.251, allocations: 73.78 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.251, allocations: 4 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.251, allocations: 0 / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.251, allocations: 0 / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2511, allocations: 43.97 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.2517, allocations: 328.6 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.2518, allocations: 50.5 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.2519, allocations: 36.95 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.252, allocations: 4 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.2521, allocations: 87.38 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2521, allocations: 0 / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003727/0.2525, allocations: 149.5 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.2526, allocations: 55.41 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.2527, allocations: 121.8 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2527, allocations: 25.7 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.2527, allocations: 96.2 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.2528, allocations: 11.75 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.2528, allocations: 21.7 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.2529, allocations: 322.8 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.253, allocations: 35.97 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.2531, allocations: 51.42 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.2533, allocations: 91.42 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2533, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002478/0.2535, allocations: 121.4 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2536, allocations: 5.406 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.2536, allocations: 8.062 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2536, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.2537, allocations: 15.98 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2537, allocations: 0 / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.2538, allocations: 7.984 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.2538, allocations: 8 kB / 1.064 GB, free: 15.75 MB / 0.8262 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 8.576e-05/0.2539, allocations: 121.8 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.2539, allocations: 15.89 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.2539, allocations: 16.31 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2539, allocations: 3.938 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.254, allocations: 0 / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.254, allocations: 3.984 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.2544, allocations: 386.3 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2544, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.2544, allocations: 11.94 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2545, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2545, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2545, allocations: 3.938 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2545, allocations: 4 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.2548, allocations: 215.4 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.2548, allocations: 85.02 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.2548, allocations: 0 / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.2549, allocations: 11.92 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.2549, allocations: 8 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.255, allocations: 8.047 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.292e-05/0.255, allocations: 91.28 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.255, allocations: 0 / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002856/0.2553, allocations: 39.98 kB / 1.065 GB, free: 14.64 MB / 0.8262 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.0006982/0.256, allocations: 0.8125 MB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.2562, allocations: 79.89 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2563, allocations: 0 / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.934e-05/0.2564, allocations: 40.09 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.2566, allocations: 14.47 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.2581, allocations: 1.526 MB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.2583, allocations: 0.6926 MB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.2583, allocations: 4.078 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.2584, allocations: 23.42 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2584, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.2698, allocations: 2.331 MB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.27, allocations: 263.1 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.864, allocations: 5.297 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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