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.001291/0.001291, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001338/0.001338, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.924/2.924, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="cs",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.002648/0.002648, allocations: 67.91 kB / 1.149 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00273/1.037, allocations: 1.5 MB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008199/1.038, allocations: 495.8 kB / 1.323 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/1.038, allocations: 0 / 1.323 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/1.038, allocations: 3.938 kB / 1.323 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/1.038, allocations: 7.312 kB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/1.038, allocations: 17.3 kB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.931e-05/1.038, allocations: 58.7 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/1.038, allocations: 14.06 kB / 1.323 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.774e-05/1.038, allocations: 19.8 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/1.038, allocations: 24.84 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/1.038, allocations: 3.094 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/1.038, allocations: 5.688 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/1.038, allocations: 10.23 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/1.039, allocations: 21.94 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/1.039, allocations: 50.62 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.039, allocations: 0 / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/1.039, allocations: 4 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.723e-06/1.039, allocations: 0 / 1.324 GB, free: 23.25 MB / 1.061 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.0005345/1.039, allocations: 357.5 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.039, allocations: 14.17 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.46e-05/1.039, allocations: 2.562 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.749e-05/1.039, allocations: 34.75 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/1.039, allocations: 13.58 kB / 1.324 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/1.039, allocations: 170.4 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/1.039, allocations: 8.375 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/1.039, allocations: 5.625 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/1.04, allocations: 62.42 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.04, allocations: 0 / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/1.04, allocations: 3.984 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/1.04, allocations: 2.531 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.548e-05/1.04, allocations: 28.55 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/1.04, allocations: 299 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/1.04, allocations: 54.25 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/1.04, allocations: 19.64 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/1.04, allocations: 0 / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/1.041, allocations: 81.23 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/1.041, allocations: 4 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002422/1.041, allocations: 100.6 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/1.041, allocations: 55.41 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/1.041, allocations: 103.1 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/1.041, allocations: 28.95 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/1.041, allocations: 99.39 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/1.041, allocations: 21.86 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/1.041, allocations: 28.56 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/1.041, allocations: 321.2 kB / 1.325 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.51e-05/1.041, allocations: 18.8 kB / 1.325 GB, free: 21.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/1.041, allocations: 44.98 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/1.041, allocations: 65.3 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.041, allocations: 3.062 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001249/1.041, allocations: 99.64 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.041, allocations: 7.562 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.041, allocations: 3.938 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.041, allocations: 2.656 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/1.041, allocations: 11.81 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.041, allocations: 0 / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/1.042, allocations: 17.36 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/1.042, allocations: 6.844 kB / 1.326 GB, free: 21.27 MB / 1.061 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.334e-05/1.042, allocations: 125.9 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/1.042, allocations: 7.125 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/1.042, allocations: 7.969 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.042, allocations: 7.203 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.042, allocations: 0 / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.042, allocations: 3.938 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/1.042, allocations: 361.6 kB / 1.326 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.042, allocations: 0 / 1.326 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/1.042, allocations: 5.688 kB / 1.326 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.042, allocations: 4 kB / 1.326 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/1.042, allocations: 3.938 kB / 1.326 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.042, allocations: 0 / 1.326 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.042, allocations: 0 / 1.326 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/1.042, allocations: 180.3 kB / 1.326 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/1.042, allocations: 84.44 kB / 1.326 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/1.042, allocations: 6.625 kB / 1.326 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/1.042, allocations: 14.23 kB / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/1.042, allocations: 10.27 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/1.042, allocations: 3.094 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.18e-05/1.042, allocations: 88.78 kB / 1.327 GB, free: 20.44 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.042, allocations: 0 / 1.327 GB, free: 20.44 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002268/1.043, allocations: 14.75 kB / 1.327 GB, free: 20.43 MB / 1.061 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.0002803/1.043, allocations: 0.7205 MB / 1.327 GB, free: 19.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001427/1.043, allocations: 48.56 kB / 1.327 GB, free: 19.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.043, allocations: 0 / 1.327 GB, free: 19.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.375e-05/1.043, allocations: 36.22 kB / 1.327 GB, free: 19.72 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/1.043, allocations: 8.875 kB / 1.327 GB, free: 19.72 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/1.044, allocations: 1.371 MB / 1.329 GB, free: 18.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/1.044, allocations: 0.683 MB / 1.329 GB, free: 17.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.878e-05/1.044, allocations: 5.812 kB / 1.329 GB, free: 17.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/1.045, allocations: 20.56 kB / 1.329 GB, free: 17.72 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/1.045, allocations: 0 / 1.329 GB, free: 17.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/1.064, allocations: 1.805 MB / 1.331 GB, free: 17.31 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.572/9.636, allocations: 16.08 kB / 1.331 GB, free: 17.3 MB / 1.061 GB " [Timeout remaining time 290] (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] [Calling os._exit(0), Time elapsed: 16.056333912012633] Failed to read output from testmodel.py, exit status != 0: 9.762889020028524 9.782167318 8.739749546 Calling exit ...