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.004971/0.004971, allocations: 102.7 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.001073/0.001073, allocations: 198.1 kB / 16.67 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.316/2.316, allocations: 390.2 MB / 0.6648 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.001201, allocations: 61.66 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2369, allocations: 140.4 MB / 1.087 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002702/0.2397, allocations: 1.494 MB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.241, allocations: 0.7336 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.241, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.2411, allocations: 7.922 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.2412, allocations: 15.88 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/0.2417, allocations: 119.6 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.2418, allocations: 71.84 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.2419, allocations: 19.97 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.242, allocations: 39.84 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.2421, allocations: 39.83 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.2421, allocations: 8 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.2424, allocations: 91.91 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.2424, allocations: 23.91 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.2425, allocations: 27.86 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.2427, allocations: 142.4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2427, allocations: 4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2427, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2427, allocations: 0 / 1.09 GB, free: 15.22 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.0006634/0.2434, allocations: 417.8 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2435, allocations: 16.03 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.2435, allocations: 30.75 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.2435, allocations: 12.78 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.2437, allocations: 184.1 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.2437, allocations: 12.38 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.2437, allocations: 4.375 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.2439, allocations: 73.7 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2439, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.244, allocations: 4 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.244, allocations: 4 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.2441, allocations: 39.97 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.2447, allocations: 308.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2448, allocations: 50.5 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.2449, allocations: 40.95 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.245, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.2452, allocations: 75.38 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.2452, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003767/0.2455, allocations: 145.6 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.2456, allocations: 55.34 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.2457, allocations: 125.8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2457, allocations: 29.7 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.2458, allocations: 96.03 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.2458, allocations: 11.81 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.2459, allocations: 29.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.246, allocations: 322.8 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.246, allocations: 27.98 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.466e-05/0.2461, allocations: 51.42 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.2463, allocations: 79.34 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2463, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00023/0.2465, allocations: 117.5 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2466, allocations: 9.547 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2466, allocations: 4 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2466, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.2467, allocations: 11.94 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2467, allocations: 7.984 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.2468, allocations: 11.91 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2468, allocations: 4 kB / 1.093 GB, free: 12.59 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 8.409e-05/0.2469, allocations: 125.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.2469, allocations: 7.906 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.2469, allocations: 12.36 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2469, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.247, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.247, allocations: 4 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.2474, allocations: 378.5 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2474, allocations: 11.94 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.2475, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2475, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2475, allocations: 3.984 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2475, allocations: 3.938 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2475, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.2478, allocations: 211.8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.2478, allocations: 81.02 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.2478, allocations: 11.98 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.2479, allocations: 3.938 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.248, allocations: 11.98 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.248, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.749e-05/0.248, allocations: 95.27 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2481, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003102/0.2484, allocations: 39.94 kB / 1.093 GB, free: 11.51 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.0007401/0.2491, allocations: 0.807 MB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.2494, allocations: 79.89 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2494, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.087e-05/0.2495, allocations: 31.98 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.2497, allocations: 11.94 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.2512, allocations: 1.503 MB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.2514, allocations: 0.6885 MB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.2515, allocations: 7.75 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.2515, allocations: 19.44 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.2515, allocations: 4 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.2687, allocations: 2.638 MB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.255, allocations: 13.25 kB / 1.099 GB, free: 5.691 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