Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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.001844/0.001844, 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.002306/0.002306, allocations: 218.8 kB / 22.26 MB, free: 5.121 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.977 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.764/2.764, allocations: 476.7 MB / 0.7707 GB, free: 4.277 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.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",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.002007/0.002007, allocations: 61.42 kB / 1.117 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 169.9 MB / 1.283 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002942/0.3104, allocations: 1.51 MB / 1.285 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008976/0.3113, allocations: 484.2 kB / 1.285 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.3113, allocations: 0 / 1.285 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.3114, allocations: 3.938 kB / 1.285 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.3114, allocations: 3.938 kB / 1.285 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.3116, allocations: 27.89 kB / 1.285 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3117, allocations: 59.84 kB / 1.285 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.3118, allocations: 8 kB / 1.285 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.3118, allocations: 23.92 kB / 1.285 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.3119, allocations: 19.86 kB / 1.285 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3119, allocations: 4 kB / 1.285 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.3119, allocations: 4 kB / 1.285 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.312, allocations: 15.97 kB / 1.285 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.312, allocations: 19.88 kB / 1.285 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.3121, allocations: 44.09 kB / 1.286 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3121, allocations: 0 / 1.286 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3121, allocations: 4 kB / 1.286 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3121, allocations: 0 / 1.286 GB, free: 1.602 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.0005137/0.3127, allocations: 290.2 kB / 1.286 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3127, allocations: 8.031 kB / 1.286 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.3127, allocations: 34.75 kB / 1.286 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.3128, allocations: 4.891 kB / 1.286 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.3129, allocations: 114.5 kB / 1.286 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3129, allocations: 8.375 kB / 1.286 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.3129, allocations: 4.375 kB / 1.286 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.313, allocations: 57.81 kB / 1.286 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3131, allocations: 0 / 1.286 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3131, allocations: 11.98 kB / 1.286 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3131, allocations: 3.938 kB / 1.286 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/0.3131, allocations: 27.86 kB / 1.286 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.3137, allocations: 271.8 kB / 1.286 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.3138, allocations: 54.59 kB / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.3138, allocations: 25 kB / 1.286 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.3138, allocations: 3.938 kB / 1.286 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.314, allocations: 67.39 kB / 1.286 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.314, allocations: 4 kB / 1.286 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002372/0.3143, allocations: 97.56 kB / 1.287 GB, free: 404 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.3143, allocations: 59.41 kB / 1.287 GB, free: 332 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.3144, allocations: 105.8 kB / 1.287 GB, free: 216 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3144, allocations: 29.7 kB / 1.287 GB, free: 180 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.3145, allocations: 88.03 kB / 1.287 GB, free: 88 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.3145, allocations: 23.83 kB / 1.287 GB, free: 64 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.3146, allocations: 25.72 kB / 1.287 GB, free: 32 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.3147, allocations: 326.8 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.609e-05/0.3148, allocations: 12 kB / 1.287 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.3149, allocations: 55.36 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.787e-05/0.3149, allocations: 67.36 kB / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.315, allocations: 4 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000154/0.3151, allocations: 93.75 kB / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3151, allocations: 7.984 kB / 1.287 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3151, allocations: 8.031 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3151, allocations: 0 / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.3152, allocations: 8 kB / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3152, allocations: 3.984 kB / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.3153, allocations: 15.92 kB / 1.287 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3153, allocations: 8.312 kB / 1.287 GB, free: 15.39 MB / 0.9981 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 0.0001038/0.3154, allocations: 118.9 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.3154, allocations: 3.953 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.3154, allocations: 16 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3155, allocations: 7.938 kB / 1.288 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3155, allocations: 0 / 1.288 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3155, allocations: 0 / 1.288 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.3159, allocations: 333.4 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3159, allocations: 3.984 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.3159, allocations: 4 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3159, allocations: 0 / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3159, allocations: 8 kB / 1.288 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3159, allocations: 11.88 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3159, allocations: 0 / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3161, allocations: 179.5 kB / 1.288 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.3161, allocations: 3.953 kB / 1.288 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.3162, allocations: 7.938 kB / 1.288 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.3162, allocations: 11.92 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3163, allocations: 7.984 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3163, allocations: 4 kB / 1.288 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.3163, allocations: 83.28 kB / 1.288 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3163, allocations: 0 / 1.288 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002375/0.3166, allocations: 16 kB / 1.288 GB, free: 14.52 MB / 0.9981 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.0005089/0.3171, allocations: 0.7088 MB / 1.289 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.3172, allocations: 67.91 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3172, allocations: 0 / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.3173, allocations: 19.94 kB / 1.289 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3176, allocations: 19.92 kB / 1.289 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.319, allocations: 1.378 MB / 1.29 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3194, allocations: 0.6885 MB / 1.291 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.3194, allocations: 7.984 kB / 1.291 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.3195, allocations: 15.44 kB / 1.291 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3195, allocations: 0 / 1.291 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.3481, allocations: 1.914 MB / 1.293 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.21, allocations: 8.719 kB / 1.293 GB, free: 9.68 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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: 17.462064787978306]