Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001786/0.001786, allocations: 107.2 kB / 16.45 MB, free: 6.453 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.00205/0.00205, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.075/3.075, allocations: 0.49 GB / 0.7916 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.OffTimer,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_12_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.001956/0.001956, allocations: 70.48 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3087, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002991/0.3117, allocations: 1.492 MB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008811/0.3126, allocations: 482.8 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.3126, allocations: 0 / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.3127, allocations: 3.938 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/0.3128, allocations: 11.94 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.3129, allocations: 23.89 kB / 1.323 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.574e-05/0.313, allocations: 55.86 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.3131, allocations: 11.98 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.3131, allocations: 27.86 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.3132, allocations: 19.86 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3132, allocations: 4 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.3132, allocations: 4 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.3133, allocations: 15.97 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.3133, allocations: 19.88 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.3134, allocations: 48.09 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3134, allocations: 0 / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3134, allocations: 0 / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3134, allocations: 4 kB / 1.323 GB, free: 1.117 MB / 1.014 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.0005364/0.314, allocations: 364.9 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.314, allocations: 11.98 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.314, allocations: 34.75 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.3141, allocations: 8.828 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3142, allocations: 180.3 kB / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3142, allocations: 4.375 kB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.3143, allocations: 4.375 kB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.3144, allocations: 57.81 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3144, allocations: 3.984 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3144, allocations: 4 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3144, allocations: 4 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.004e-05/0.3144, allocations: 19.98 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.315, allocations: 300.7 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.3151, allocations: 50.56 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.3151, allocations: 28.94 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3152, allocations: 96 / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.3153, allocations: 75.31 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.3153, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002251/0.3156, allocations: 105.5 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.3156, allocations: 59.41 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.3157, allocations: 101.8 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3157, allocations: 33.7 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.3158, allocations: 84.09 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.3158, allocations: 31.77 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.3158, allocations: 25.72 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.316, allocations: 326.8 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.718e-05/0.316, allocations: 15.98 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.747e-05/0.3161, allocations: 47.38 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.47e-05/0.3161, allocations: 71.59 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3162, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001489/0.3163, allocations: 97.55 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3163, allocations: 4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3163, allocations: 3.938 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3163, allocations: 8.031 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.3164, allocations: 8 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3164, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.3165, allocations: 15.94 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3165, allocations: 7.938 kB / 1.325 GB, free: 14.71 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.506e-05/0.3166, allocations: 118.4 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.3166, allocations: 4 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.3166, allocations: 11.95 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3166, allocations: 8 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3166, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3166, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.3171, allocations: 358.3 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3171, allocations: 0 / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.3171, allocations: 4 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3171, allocations: 0 / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3171, allocations: 4 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.3171, allocations: 8.406 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3171, allocations: 7.938 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.3173, allocations: 175.5 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.3174, allocations: 85.06 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.3174, allocations: 3.984 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.3175, allocations: 7.938 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.3175, allocations: 11.92 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.3175, allocations: 8 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.3176, allocations: 83.28 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3176, allocations: 0 / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002304/0.3178, allocations: 16 kB / 1.326 GB, free: 13.7 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.0005069/0.3183, allocations: 0.7124 MB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.3185, allocations: 51.92 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.3185, allocations: 4.062 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.657e-05/0.3185, allocations: 27.92 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.3188, allocations: 12.58 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3202, allocations: 1.39 MB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3205, allocations: 0.6846 MB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.3205, allocations: 11.88 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.3205, allocations: 19.42 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3205, allocations: 0 / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.3437, allocations: 1.768 MB / 1.33 GB, free: 8.969 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.853, allocations: 7.938 kB / 1.33 GB, free: 8.961 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.224841557908803]