Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.0078/0.0078, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.002149/0.002149, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.443/2.443, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 67.89 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2528, allocations: 162.3 MB / 1.242 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002255/0.2551, allocations: 1.629 MB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.2562, allocations: 0.7907 MB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.2562, allocations: 0 / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.2563, allocations: 11.86 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.509e-05/0.2563, allocations: 19.8 kB / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.2568, allocations: 159.5 kB / 1.244 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.257, allocations: 155.5 kB / 1.245 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.685e-05/0.257, allocations: 17.11 kB / 1.245 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.369e-05/0.2571, allocations: 67.81 kB / 1.245 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.2572, allocations: 83.72 kB / 1.245 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.2573, allocations: 12 kB / 1.245 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.2575, allocations: 115.8 kB / 1.245 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.2575, allocations: 27.91 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.2576, allocations: 59.7 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.2578, allocations: 215.2 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2578, allocations: 0 / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2578, allocations: 0 / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2578, allocations: 0 / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006781/0.2585, allocations: 0.5483 MB / 1.246 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.2586, allocations: 12.03 kB / 1.246 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.2586, allocations: 30.75 kB / 1.246 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.2586, allocations: 8.891 kB / 1.246 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2588, allocations: 198.6 kB / 1.246 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2588, allocations: 8.375 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.2588, allocations: 4.375 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.2592, allocations: 149.7 kB / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.2592, allocations: 0 / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2592, allocations: 0 / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2593, allocations: 0 / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.2596, allocations: 107.8 kB / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.2603, allocations: 380.6 kB / 1.247 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.2606, allocations: 98.5 kB / 1.247 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.2609, allocations: 88.94 kB / 1.247 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.2609, allocations: 3.984 kB / 1.247 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003716/0.2613, allocations: 147.2 kB / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2613, allocations: 0 / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.000976/0.2623, allocations: 305.3 kB / 1.247 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.2623, allocations: 59.41 kB / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2625, allocations: 142.5 kB / 1.247 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.2625, allocations: 33.69 kB / 1.247 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.2626, allocations: 100.3 kB / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.2626, allocations: 24.22 kB / 1.247 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.2626, allocations: 29.7 kB / 1.247 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2628, allocations: 326.8 kB / 1.248 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.2629, allocations: 39.97 kB / 1.248 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.263, allocations: 85.06 kB / 1.248 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.2633, allocations: 133 kB / 1.248 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2633, allocations: 0 / 1.248 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000315/0.2636, allocations: 153.4 kB / 1.248 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2636, allocations: 8 kB / 1.248 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.2636, allocations: 4.125 kB / 1.248 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.2637, allocations: 4 kB / 1.248 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.2638, allocations: 23.97 kB / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.2638, allocations: 7.938 kB / 1.248 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.063e-05/0.2639, allocations: 15.89 kB / 1.248 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2639, allocations: 11.92 kB / 1.248 GB, free: 2.988 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.7e-05/0.264, allocations: 118.4 kB / 1.248 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.264, allocations: 15.95 kB / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.2641, allocations: 8.719 kB / 1.248 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2641, allocations: 4 kB / 1.248 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2641, allocations: 3.984 kB / 1.248 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2641, allocations: 112 / 1.248 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009037/0.265, allocations: 0.5255 MB / 1.249 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.265, allocations: 0 / 1.249 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.2651, allocations: 15.92 kB / 1.249 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2651, allocations: 0 / 1.249 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.2651, allocations: 3.984 kB / 1.249 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2651, allocations: 7.938 kB / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.2651, allocations: 0 / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.2658, allocations: 335.2 kB / 1.249 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.2659, allocations: 93 kB / 1.249 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.2659, allocations: 0 / 1.249 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2661, allocations: 23.91 kB / 1.249 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.2661, allocations: 12.17 kB / 1.249 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.2662, allocations: 7.984 kB / 1.249 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.611e-05/0.2662, allocations: 109.6 kB / 1.25 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2662, allocations: 4 kB / 1.25 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002587/0.2665, allocations: 47.92 kB / 1.25 GB, free: 1.57 MB / 0.9981 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001159/0.2677, allocations: 0.9217 MB / 1.25 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004566/0.2681, allocations: 139.8 kB / 1.251 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2682, allocations: 4.031 kB / 1.251 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.2685, allocations: 91.86 kB / 1.251 GB, free: 420 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.2687, allocations: 23.97 kB / 1.251 GB, free: 396 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4083/0.677, allocations: 1.761 MB / 1.252 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.6771, allocations: 0.7043 MB / 1.253 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.594e-05/0.6772, allocations: 7.547 kB / 1.253 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.6772, allocations: 31.09 kB / 1.253 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.6772, allocations: 0.8125 kB / 1.253 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.568/5.245, allocations: 3.488 MB / 1.257 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/17.08, allocations: 15.92 kB / 1.257 GB, free: 12.53 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches