Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 110.4 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.00201, allocations: 59.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3076, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002292/0.3099, allocations: 0.881 MB / 1.177 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.311, allocations: 0.8817 MB / 1.178 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.3111, allocations: 4 kB / 1.178 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.682e-05/0.3112, allocations: 11.86 kB / 1.178 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.209e-05/0.3113, allocations: 15.8 kB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.3115, allocations: 31.95 kB / 1.178 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.3117, allocations: 115.7 kB / 1.178 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3118, allocations: 37.09 kB / 1.178 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.312, allocations: 47.78 kB / 1.178 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3121, allocations: 47.77 kB / 1.178 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.3121, allocations: 12 kB / 1.178 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.184e-05/0.3121, allocations: 12 kB / 1.178 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.3122, allocations: 23.91 kB / 1.178 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.3123, allocations: 55.73 kB / 1.178 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.3125, allocations: 123.4 kB / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3125, allocations: 0 / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3125, allocations: 0 / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3125, allocations: 0 / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009398/0.3134, allocations: 462.9 kB / 1.179 GB, free: 3.094 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3135, allocations: 8.031 kB / 1.179 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.3135, allocations: 20.84 kB / 1.179 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3137, allocations: 190.4 kB / 1.179 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3137, allocations: 8.375 kB / 1.179 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.3138, allocations: 8.375 kB / 1.179 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.314, allocations: 98.14 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.314, allocations: 192 / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.314, allocations: 3.938 kB / 1.179 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.314, allocations: 4 kB / 1.179 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.3142, allocations: 66.91 kB / 1.179 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.315, allocations: 408.5 kB / 1.179 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.3152, allocations: 70.48 kB / 1.179 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.941e-05/0.3153, allocations: 32.91 kB / 1.179 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3153, allocations: 4 kB / 1.179 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3154, allocations: 30.56 kB / 1.179 GB, free: 2.051 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.3154, allocations: 0 / 1.179 GB, free: 2.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0003847/0.3158, allocations: 117.5 kB / 1.18 GB, free: 1.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3158, allocations: 51.41 kB / 1.18 GB, free: 1.867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.316, allocations: 159.5 kB / 1.18 GB, free: 1.703 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.316, allocations: 25.7 kB / 1.18 GB, free: 1.672 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.214e-05/0.3161, allocations: 104.1 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.3161, allocations: 19.98 kB / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.3162, allocations: 21.7 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3163, allocations: 326.8 kB / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/0.3164, allocations: 27.98 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/0.3165, allocations: 27.98 kB / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3167, allocations: 48.83 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3167, allocations: 0 / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000235/0.3169, allocations: 105.5 kB / 1.18 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.317, allocations: 8 kB / 1.18 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.317, allocations: 0 / 1.18 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.317, allocations: 0 / 1.18 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.3171, allocations: 11.98 kB / 1.18 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3171, allocations: 3.938 kB / 1.18 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.3173, allocations: 27.92 kB / 1.18 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3173, allocations: 4 kB / 1.18 GB, free: 0.9219 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001011/0.3174, allocations: 117.8 kB / 1.181 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.3175, allocations: 7.953 kB / 1.181 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.3175, allocations: 12.31 kB / 1.181 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3175, allocations: 3.938 kB / 1.181 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3175, allocations: 7.922 kB / 1.181 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3175, allocations: 4 kB / 1.181 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.3178, allocations: 197.6 kB / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3178, allocations: 0 / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.3178, allocations: 12 kB / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3179, allocations: 256 / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3179, allocations: 3.984 kB / 1.181 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3179, allocations: 7.938 kB / 1.181 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3179, allocations: 3.938 kB / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.3182, allocations: 183.5 kB / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.3182, allocations: 85.02 kB / 1.181 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.3183, allocations: 8 kB / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3185, allocations: 19.97 kB / 1.181 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.3186, allocations: 19.92 kB / 1.181 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3186, allocations: 7.875 kB / 1.181 GB, free: 144 kB / 0.92 GB Notification: Performance of sorting global known variables: time 9.864e-05/0.3187, allocations: 117.3 kB / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3187, allocations: 4 kB / 1.181 GB, free: 24 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002378/0.3189, allocations: 19.94 kB / 1.181 GB, free: 4 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001548/0.3191, allocations: 99.48 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3193, allocations: 67.94 kB / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3193, allocations: 0 / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3195, allocations: 35.92 kB / 1.181 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3198, allocations: 12 kB / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.3203, allocations: 237.2 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3206, allocations: 0.7002 MB / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.3207, allocations: 11.44 kB / 1.182 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3207, allocations: 0 / 1.182 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of Templates: time 0.00305/0.3237, allocations: 1.298 MB / 1.184 GB, free: 13.49 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 10.109559529926628]