Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.005942/0.005942, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.00141/0.00141, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.42/2.42, allocations: 482.6 MB / 0.7551 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 68.36 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2506, allocations: 162.3 MB / 1.242 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002213/0.2529, allocations: 1.497 MB / 1.243 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2539, allocations: 0.7259 MB / 1.244 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.254, allocations: 4 kB / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.254, allocations: 3.938 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.2541, allocations: 7.875 kB / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.2545, allocations: 127.6 kB / 1.244 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2546, allocations: 79.69 kB / 1.244 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.604e-05/0.2547, allocations: 19.98 kB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.2548, allocations: 27.92 kB / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.2548, allocations: 43.81 kB / 1.244 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.2549, allocations: 8 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.255, allocations: 95.84 kB / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.2551, allocations: 15.98 kB / 1.244 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.2551, allocations: 35.8 kB / 1.244 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.2553, allocations: 143.8 kB / 1.245 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.2553, allocations: 0 / 1.245 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2553, allocations: 0 / 1.245 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2554, allocations: 4 kB / 1.245 GB, free: 6.18 MB / 0.9669 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.0005359/0.2559, allocations: 424.7 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.2559, allocations: 8.031 kB / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.256, allocations: 34.69 kB / 1.245 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.256, allocations: 12.89 kB / 1.245 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2561, allocations: 180.2 kB / 1.245 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2562, allocations: 4.375 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.2562, allocations: 4.375 kB / 1.245 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2563, allocations: 73.78 kB / 1.245 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.2564, allocations: 0 / 1.245 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2564, allocations: 0 / 1.245 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.2564, allocations: 4 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.2565, allocations: 35.97 kB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.257, allocations: 316.7 kB / 1.246 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.2572, allocations: 54.56 kB / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.2572, allocations: 28.97 kB / 1.246 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2573, allocations: 4 kB / 1.246 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.2574, allocations: 83.31 kB / 1.246 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 4.278e-06/0.2574, allocations: 0 / 1.246 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003509/0.2578, allocations: 145.5 kB / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.2578, allocations: 55.34 kB / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.2579, allocations: 125.8 kB / 1.246 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.258, allocations: 25.7 kB / 1.246 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.258, allocations: 96.08 kB / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.258, allocations: 23.91 kB / 1.246 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.2581, allocations: 29.7 kB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2582, allocations: 322.8 kB / 1.247 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.2583, allocations: 27.98 kB / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.2584, allocations: 46.5 kB / 1.247 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.2585, allocations: 74.55 kB / 1.247 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2585, allocations: 0 / 1.247 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002215/0.2588, allocations: 113.5 kB / 1.247 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2588, allocations: 10.19 kB / 1.247 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2588, allocations: 0 / 1.247 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.2588, allocations: 0 / 1.247 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.2589, allocations: 15.92 kB / 1.247 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2589, allocations: 4 kB / 1.247 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.259, allocations: 8.062 kB / 1.247 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.259, allocations: 4 kB / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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.551e-05/0.2591, allocations: 125.8 kB / 1.247 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.2591, allocations: 3.953 kB / 1.247 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.2591, allocations: 12.38 kB / 1.247 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2591, allocations: 0 / 1.247 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2591, allocations: 0 / 1.247 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2591, allocations: 3.938 kB / 1.247 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.2596, allocations: 382.8 kB / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2596, allocations: 0 / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.2596, allocations: 7.984 kB / 1.247 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2596, allocations: 0 / 1.247 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2596, allocations: 4 kB / 1.247 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2597, allocations: 3.938 kB / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2597, allocations: 0 / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.2599, allocations: 219.5 kB / 1.248 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.26, allocations: 89 kB / 1.248 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.26, allocations: 0 / 1.248 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/0.2601, allocations: 7.938 kB / 1.248 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.2601, allocations: 11.98 kB / 1.248 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2601, allocations: 0 / 1.248 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.004e-05/0.2602, allocations: 91.27 kB / 1.248 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2602, allocations: 4 kB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002512/0.2605, allocations: 39.94 kB / 1.248 GB, free: 2.492 MB / 0.9669 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,win.occ,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.0007194/0.2612, allocations: 0.8081 MB / 1.249 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.2614, allocations: 71.95 kB / 1.249 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2614, allocations: 0 / 1.249 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.2615, allocations: 35.92 kB / 1.249 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.2617, allocations: 11.94 kB / 1.249 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2632, allocations: 1.489 MB / 1.25 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.2634, allocations: 0.6884 MB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.2635, allocations: 7.984 kB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.2635, allocations: 23.44 kB / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.2635, allocations: 0 / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.392/5.656, allocations: 2.641 MB / 1.253 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/20.55, allocations: 18.86 kB / 1.254 GB, free: 12.71 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed