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 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.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.0009221/0.0009222, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004781/0.004781, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.164/1.164, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.323/2.323, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 7.875 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2191, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001247/0.2203, allocations: 1.195 MB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005305/0.2209, allocations: 438.9 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.2209, allocations: 0 / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.2209, allocations: 7.938 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.746e-05/0.221, allocations: 7.984 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.2211, allocations: 19.92 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.428e-05/0.2212, allocations: 47.91 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.901e-05/0.2213, allocations: 8 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.2213, allocations: 23.86 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.2214, allocations: 19.91 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.2214, allocations: 4 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.2214, allocations: 3.938 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.2215, allocations: 11.98 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.2215, allocations: 45.58 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.594e-05/0.2216, allocations: 36.16 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2216, allocations: 0 / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2216, allocations: 0 / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.2216, allocations: 3.938 kB / 1.061 GB, free: 2.996 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003925/0.222, allocations: 355.4 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.222, allocations: 11.97 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.2221, allocations: 42.75 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.011e-05/0.2221, allocations: 0.9375 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.709e-05/0.2222, allocations: 180.2 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2222, allocations: 384 / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2222, allocations: 16.3 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.42e-05/0.2223, allocations: 61.8 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.2223, allocations: 0 / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2224, allocations: 0 / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2224, allocations: 0 / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.752e-05/0.2224, allocations: 27.98 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.2228, allocations: 304.8 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.2229, allocations: 50.56 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.223, allocations: 32.94 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.223, allocations: 0 / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.2231, allocations: 79.33 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.041e-06/0.2231, allocations: 0 / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0001844/0.2233, allocations: 97.61 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.2234, allocations: 51.41 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.2234, allocations: 105.8 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2235, allocations: 34.08 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.2235, allocations: 88.05 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.2235, allocations: 23.72 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.2236, allocations: 25.66 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.2236, allocations: 326.7 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.2237, allocations: 12 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-05/0.2237, allocations: 47.42 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.394e-05/0.2238, allocations: 71.36 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2238, allocations: 0 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001242/0.2239, allocations: 97.45 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.224, allocations: 4 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.224, allocations: 4 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.224, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.224, allocations: 12.06 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.224, allocations: 32 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.2241, allocations: 19.98 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.2241, allocations: 8.219 kB / 1.063 GB, free: 0.5938 MB / 0.8106 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 6.696e-05/0.2242, allocations: 123.3 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.2242, allocations: 7.906 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.2242, allocations: 7.969 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2243, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2243, allocations: 3.984 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2243, allocations: 4 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.2246, allocations: 362.4 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2246, allocations: 0 / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.2246, allocations: 8 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2246, allocations: 0 / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.2247, allocations: 0 / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.2247, allocations: 3.938 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2247, allocations: 4 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.2248, allocations: 179.5 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.2249, allocations: 88.95 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.2249, allocations: 192 / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.225, allocations: 15.86 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.225, allocations: 15.86 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.225, allocations: 8 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.15e-05/0.2251, allocations: 83.28 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2251, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002137/0.2253, allocations: 16 kB / 1.064 GB, free: 15.58 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: 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.0003297/0.2256, allocations: 0.7107 MB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.2257, allocations: 55.92 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2257, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.601e-05/0.2258, allocations: 31.92 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.226, allocations: 13.34 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.2271, allocations: 1.394 MB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.2273, allocations: 0.6809 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.2273, allocations: 4 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.2273, allocations: 23.42 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.2273, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8973/1.125, allocations: 1.473 MB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/1.125, allocations: 207.5 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/4.09, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8262 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=50 --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