Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 219 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.172/3.172, allocations: 0.49 GB / 0.7951 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 72.59 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3745, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002806/0.3773, allocations: 1.527 MB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009016/0.3782, allocations: 482.8 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.3782, allocations: 4 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.3783, allocations: 3.938 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.3784, allocations: 7.875 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.3785, allocations: 27.95 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.717e-05/0.3786, allocations: 55.78 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3787, allocations: 8 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.3788, allocations: 19.92 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.3789, allocations: 23.92 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3789, allocations: 7.984 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.3789, allocations: 8 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.3789, allocations: 7.984 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.379, allocations: 27.86 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.3791, allocations: 40.11 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3791, allocations: 3.938 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3791, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3791, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 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.0005417/0.3796, allocations: 290.1 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3797, allocations: 11.97 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.3797, allocations: 38.75 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.3798, allocations: 8.891 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3799, allocations: 114.5 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3799, allocations: 4.375 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3799, allocations: 4.375 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.38, allocations: 61.75 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.38, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.38, allocations: 3.984 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.38, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.604e-05/0.3801, allocations: 31.97 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.3806, allocations: 271.8 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3807, allocations: 50.56 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.3808, allocations: 28.94 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.118e-06/0.3808, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.381, allocations: 79.42 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.381, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002529/0.3812, allocations: 101.6 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.3813, allocations: 55.41 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/0.3814, allocations: 101.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3814, allocations: 33.7 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.3815, allocations: 84.47 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3815, allocations: 31.81 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.3815, allocations: 29.72 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3817, allocations: 326.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.489e-05/0.3817, allocations: 15.94 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.009e-05/0.3818, allocations: 43.42 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3819, allocations: 71.36 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3819, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001455/0.382, allocations: 93.52 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.382, allocations: 11.98 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.382, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3821, allocations: 7.938 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.3821, allocations: 8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3821, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.3822, allocations: 15.94 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3822, allocations: 11.97 kB / 1.33 GB, free: 13.5 MB / 1.029 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 9.511e-05/0.3823, allocations: 116.2 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.3823, allocations: 7.938 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.3824, allocations: 8.062 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3824, allocations: 288 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3824, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3824, allocations: 3.984 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.3828, allocations: 333.4 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3828, allocations: 7.984 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.3828, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3828, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3828, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3829, allocations: 3.938 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3829, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.383, allocations: 179.5 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.3831, allocations: 11.95 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3831, allocations: 4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.3832, allocations: 12.11 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.3832, allocations: 7.984 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.3832, allocations: 11.94 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.307e-05/0.3833, allocations: 79.28 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3833, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000241/0.3835, allocations: 16 kB / 1.331 GB, free: 12.62 MB / 1.029 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.0005035/0.384, allocations: 0.7124 MB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.3842, allocations: 59.84 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3842, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.3842, allocations: 16 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3845, allocations: 19.92 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3859, allocations: 1.365 MB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3862, allocations: 0.6871 MB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.3863, allocations: 3.984 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.3863, allocations: 15.44 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3863, allocations: 8 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.4161, allocations: 1.915 MB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.95, allocations: 7.984 kB / 1.335 GB, free: 7.812 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.89860748499632]