Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001398/0.001398, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001733/0.001733, allocations: 217 kB / 22.25 MB, free: 4.852 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.882/2.882, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_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.002177/0.002177, allocations: 66.59 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3067, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002764/0.3094, allocations: 1.498 MB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.3103, allocations: 452.7 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.3103, allocations: 4 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.3104, allocations: 0 / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.3104, allocations: 19.84 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.3106, allocations: 15.98 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.903e-05/0.3106, allocations: 51.84 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.3107, allocations: 8 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/0.3108, allocations: 19.92 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.3109, allocations: 19.91 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3109, allocations: 4 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.3109, allocations: 4 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.3109, allocations: 23.92 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.311, allocations: 15.92 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.3111, allocations: 47.33 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3111, allocations: 0 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.386e-06/0.3111, allocations: 4 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.3111, allocations: 0 / 1.285 GB, free: 10.28 MB / 0.9825 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.0004679/0.3115, allocations: 278.3 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3116, allocations: 12.03 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.3116, allocations: 38.69 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.3117, allocations: 12.88 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.3118, allocations: 114.5 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3118, allocations: 8.312 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.3118, allocations: 4.375 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3119, allocations: 69.72 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3119, allocations: 0 / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.312, allocations: 0 / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.312, allocations: 0 / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/0.312, allocations: 27.98 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.3125, allocations: 263.8 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3126, allocations: 54.56 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.3126, allocations: 20.95 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.3127, allocations: 0 / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.3128, allocations: 75.41 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.3128, allocations: 0 / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002302/0.3131, allocations: 97.58 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3131, allocations: 59.39 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.769e-05/0.3132, allocations: 105.9 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3132, allocations: 29.69 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.3133, allocations: 96.03 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.3133, allocations: 23.83 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.3133, allocations: 34.08 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3135, allocations: 314.8 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.9e-05/0.3135, allocations: 19.98 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.3136, allocations: 43.42 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.3137, allocations: 71.31 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3137, allocations: 0 / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001553/0.3138, allocations: 101.5 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3138, allocations: 8 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3138, allocations: 4.031 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3139, allocations: 7.938 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.3139, allocations: 11.98 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3139, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.314, allocations: 4 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.314, allocations: 7.938 kB / 1.287 GB, free: 8.082 MB / 0.9825 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.875e-05/0.3141, allocations: 130 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.3141, allocations: 7.953 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.3141, allocations: 8.062 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3142, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3142, allocations: 8 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3142, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.3146, allocations: 325.4 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3146, allocations: 0 / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.3146, allocations: 4 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3146, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3146, allocations: 4 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3146, allocations: 3.938 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3146, allocations: 3.984 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.3148, allocations: 175.5 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.3148, allocations: 11.95 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.3148, allocations: 3.984 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.3149, allocations: 11.94 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.315, allocations: 7.984 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.315, allocations: 192 / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.315, allocations: 87.27 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.315, allocations: 7.938 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002367/0.3153, allocations: 8 kB / 1.287 GB, free: 7.211 MB / 0.9825 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.0004931/0.3158, allocations: 0.7225 MB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.3159, allocations: 51.98 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3159, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.316, allocations: 27.98 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3162, allocations: 16.08 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3176, allocations: 1.379 MB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.51e-05/0.3177, allocations: 73.52 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.3177, allocations: 4 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.3177, allocations: 23.48 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3177, allocations: 0 / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.3463, allocations: 2.328 MB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.45, allocations: 11.48 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.170686384197325]