Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",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.004851/0.004855, allocations: 100.9 kB / 15.73 MB, free: 6.004 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.001328/0.001328, allocations: 193.8 kB / 16.67 MB, free: 5.922 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.483/2.483, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 64.59 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.257, allocations: 162.3 MB / 1.242 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002301/0.2593, allocations: 1.463 MB / 1.243 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006464/0.26, allocations: 448.2 kB / 1.244 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.26, allocations: 0 / 1.244 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.2601, allocations: 3.938 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.2601, allocations: 3.938 kB / 1.244 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.2603, allocations: 27.91 kB / 1.244 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.2604, allocations: 43.92 kB / 1.244 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.2604, allocations: 23.97 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.2605, allocations: 27.86 kB / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.2606, allocations: 15.92 kB / 1.244 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.2606, allocations: 4 kB / 1.244 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.2606, allocations: 4 kB / 1.244 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.2606, allocations: 15.92 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.2607, allocations: 19.92 kB / 1.244 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.818e-05/0.2608, allocations: 48.03 kB / 1.244 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.2608, allocations: 0 / 1.244 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2608, allocations: 4 kB / 1.244 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2608, allocations: 0 / 1.244 GB, free: 6.789 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004538/0.2612, allocations: 363.4 kB / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.2613, allocations: 8.031 kB / 1.244 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.2613, allocations: 34.75 kB / 1.244 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.2614, allocations: 8.875 kB / 1.244 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2615, allocations: 176.2 kB / 1.244 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2615, allocations: 8.375 kB / 1.244 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2615, allocations: 4.375 kB / 1.244 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.2616, allocations: 61.8 kB / 1.245 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.2616, allocations: 0 / 1.245 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.2617, allocations: 0 / 1.245 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2617, allocations: 4 kB / 1.245 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.562e-05/0.2617, allocations: 27.92 kB / 1.245 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.2621, allocations: 292.8 kB / 1.245 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.2623, allocations: 62.59 kB / 1.245 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.2623, allocations: 32.94 kB / 1.245 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.2623, allocations: 0 / 1.245 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.2625, allocations: 71.33 kB / 1.245 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.2625, allocations: 0 / 1.245 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.000197/0.2627, allocations: 101.6 kB / 1.245 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2627, allocations: 59.41 kB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.2628, allocations: 105.8 kB / 1.245 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.2628, allocations: 33.64 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.2629, allocations: 96.06 kB / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.2629, allocations: 23.8 kB / 1.245 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.263, allocations: 25.7 kB / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2631, allocations: 322.8 kB / 1.246 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.2631, allocations: 19.92 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.2632, allocations: 47.42 kB / 1.246 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.2633, allocations: 63.38 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2633, allocations: 0 / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001332/0.2634, allocations: 93.89 kB / 1.246 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2634, allocations: 5.875 kB / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2634, allocations: 8.016 kB / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2635, allocations: 4 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.2635, allocations: 15.94 kB / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2635, allocations: 3.984 kB / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.2636, allocations: 7.953 kB / 1.246 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.2636, allocations: 7.938 kB / 1.246 GB, free: 4.379 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.758e-05/0.2637, allocations: 117.3 kB / 1.246 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.2637, allocations: 4 kB / 1.246 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.2637, allocations: 15.95 kB / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2637, allocations: 4 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2637, allocations: 0 / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2638, allocations: 0 / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.2641, allocations: 362.8 kB / 1.246 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2641, allocations: 96 / 1.246 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.2642, allocations: 11.88 kB / 1.246 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2642, allocations: 0 / 1.246 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.2642, allocations: 0 / 1.246 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.2642, allocations: 11.98 kB / 1.247 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2642, allocations: 8 kB / 1.247 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.2644, allocations: 183.4 kB / 1.247 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.2644, allocations: 77.11 kB / 1.247 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2644, allocations: 3.984 kB / 1.247 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.2645, allocations: 7.938 kB / 1.247 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.2646, allocations: 11.98 kB / 1.247 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.2646, allocations: 4 kB / 1.247 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.2646, allocations: 91.2 kB / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2646, allocations: 0 / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002117/0.2648, allocations: 16 kB / 1.247 GB, free: 3.371 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * 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.0004147/0.2653, allocations: 0.7149 MB / 1.248 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.2654, allocations: 55.92 kB / 1.248 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2654, allocations: 0 / 1.248 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.2655, allocations: 31.92 kB / 1.248 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2657, allocations: 16.25 kB / 1.248 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.2669, allocations: 1.379 MB / 1.249 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2672, allocations: 0.6846 MB / 1.25 GB, free: 356 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.2672, allocations: 7.984 kB / 1.25 GB, free: 348 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.2672, allocations: 19.44 kB / 1.25 GB, free: 328 kB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.2673, allocations: 0 / 1.25 GB, free: 328 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.136/1.403, allocations: 1.756 MB / 1.251 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.039/10.44, allocations: 13.17 kB / 1.251 GB, free: 14.64 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches