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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.006686/0.006686, allocations: 100.7 kB / 15.73 MB, free: 5.555 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.001492/0.001492, allocations: 192.6 kB / 16.67 MB, free: 5.484 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.576/2.576, allocations: 469.4 MB / 0.7421 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 64.14 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6877/0.6891, allocations: 159.1 MB / 1.22 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00243/0.6916, allocations: 1.464 MB / 1.221 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007085/0.6923, allocations: 450.9 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.6924, allocations: 0 / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.6924, allocations: 3.938 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.6925, allocations: 11.92 kB / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.6926, allocations: 19.92 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.178e-05/0.6927, allocations: 47.91 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.6928, allocations: 19.98 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.616e-05/0.6929, allocations: 27.86 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.693, allocations: 15.92 kB / 1.222 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.693, allocations: 4 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.693, allocations: 4 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.693, allocations: 15.92 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.6931, allocations: 23.92 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.6932, allocations: 46.48 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6932, allocations: 0 / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6932, allocations: 11.94 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.6932, allocations: 0 / 1.222 GB, free: 240 kB / 0.9356 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.0004833/0.6937, allocations: 360.3 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.6937, allocations: 8.031 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.6938, allocations: 38.73 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.6938, allocations: 4.938 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.6939, allocations: 176.2 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.694, allocations: 4.375 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.694, allocations: 4.375 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.6941, allocations: 65.78 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.6941, allocations: 0 / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.6941, allocations: 8 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.6941, allocations: 0 / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.896e-05/0.6942, allocations: 23.92 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.6947, allocations: 296.8 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.6948, allocations: 58.72 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/0.6948, allocations: 24.83 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.6948, allocations: 0 / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.695, allocations: 83.27 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.695, allocations: 0 / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002151/0.6952, allocations: 97.61 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.6953, allocations: 55.41 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.6954, allocations: 110.2 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.6954, allocations: 29.69 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.6954, allocations: 92.12 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.6955, allocations: 15.86 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.6955, allocations: 37.64 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.6956, allocations: 314.8 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/0.6957, allocations: 19.92 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.277e-05/0.6957, allocations: 51.42 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.784e-05/0.6958, allocations: 63.38 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6958, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001417/0.696, allocations: 97.56 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.696, allocations: 4 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.696, allocations: 8.031 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.696, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.6961, allocations: 11.98 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.6961, allocations: 4 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.6962, allocations: 11.94 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.6962, allocations: 7.938 kB / 1.224 GB, free: 13.84 MB / 0.9512 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 8.659e-05/0.6963, allocations: 126.6 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.6963, allocations: 7.938 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.6963, allocations: 7.969 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6964, allocations: 8 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.6964, allocations: 0 / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6964, allocations: 0 / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.6968, allocations: 354.4 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6968, allocations: 3.938 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.6968, allocations: 7.938 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.6968, allocations: 3.984 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.6968, allocations: 4 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6968, allocations: 3.938 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6968, allocations: 4 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.697, allocations: 179.4 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.6971, allocations: 85.22 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.6971, allocations: 4 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.6972, allocations: 7.875 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.6972, allocations: 11.98 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.6972, allocations: 4 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.6973, allocations: 91.27 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6973, allocations: 0 / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002512/0.6975, allocations: 15.95 kB / 1.225 GB, free: 12.81 MB / 0.9512 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.0003998/0.6979, allocations: 0.7085 MB / 1.225 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.6981, allocations: 51.92 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6981, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.483e-05/0.6981, allocations: 35.92 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.6984, allocations: 10.34 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.6997, allocations: 1.38 MB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.6999, allocations: 0.6846 MB / 1.228 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.6999, allocations: 15.86 kB / 1.228 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.7, allocations: 19.72 kB / 1.228 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.7, allocations: 0 / 1.228 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.7176, allocations: 1.77 MB / 1.229 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/8.317, allocations: 7.219 kB / 1.229 GB, free: 8.078 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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