Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001709/0.001709, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002195/0.002195, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.801 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.087/3.087, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.002047/0.002047, allocations: 65.48 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3152, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002318/0.3175, allocations: 0.8813 MB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3187, allocations: 0.9328 MB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.3188, allocations: 4 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.606e-05/0.3188, allocations: 7.875 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3189, allocations: 15.8 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.3192, allocations: 55.88 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.3194, allocations: 123.7 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.3195, allocations: 29.72 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3197, allocations: 67.7 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3198, allocations: 47.77 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.3199, allocations: 12 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.3199, allocations: 16 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.32, allocations: 27.91 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.32, allocations: 47.73 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3203, allocations: 163.5 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3203, allocations: 4 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3203, allocations: 7.938 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.3203, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005837/0.3209, allocations: 357.7 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3209, allocations: 12.03 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.321, allocations: 38.75 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.3212, allocations: 32.86 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3214, allocations: 160.5 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.3215, allocations: 12.36 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3215, allocations: 15.94 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3217, allocations: 97.59 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3217, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3217, allocations: 8 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3217, allocations: 0 / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.3219, allocations: 75.94 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.3225, allocations: 339.6 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.3227, allocations: 82.59 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.3228, allocations: 40.83 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3229, allocations: 8.094 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3229, allocations: 34.5 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3229, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003681/0.3233, allocations: 129.7 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3233, allocations: 55.34 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3234, allocations: 156.7 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3235, allocations: 29.7 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.3235, allocations: 112.2 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.3236, allocations: 19.84 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.3236, allocations: 25.72 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3238, allocations: 322.8 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.3238, allocations: 31.98 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.324, allocations: 106 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.3241, allocations: 64.89 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3241, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002232/0.3244, allocations: 109.5 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3244, allocations: 8 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3244, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3244, allocations: 4.031 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.3245, allocations: 15.92 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3245, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.022e-05/0.3246, allocations: 15.89 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3246, allocations: 7.984 kB / 1.33 GB, free: 13.27 MB / 1.029 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 (9): * Single equations (assignments): 9 * 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.0001016/0.3247, allocations: 121.1 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.3247, allocations: 11.89 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.3248, allocations: 16.72 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3248, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3248, allocations: 4 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3248, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.325, allocations: 184.6 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.325, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.3251, allocations: 11.94 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3251, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3251, allocations: 7.984 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3251, allocations: 3.938 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3251, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.3253, allocations: 195.4 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.3254, allocations: 15.89 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.3254, allocations: 4 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.3255, allocations: 7.984 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.3255, allocations: 19.97 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.3256, allocations: 0 / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.271e-05/0.3256, allocations: 125.2 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3256, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002319/0.3259, allocations: 19.89 kB / 1.331 GB, free: 12.46 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: 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 (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 Backend phase and start with SimCode phase: time 0.0005695/0.3264, allocations: 0.7397 MB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.3267, allocations: 75.89 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3267, allocations: 0 / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.004e-05/0.3268, allocations: 35.92 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.3271, allocations: 13.7 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.329, allocations: 1.644 MB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.755e-05/0.3291, allocations: 93.05 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.979e-05/0.3291, allocations: 12.66 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.543e-05/0.3292, allocations: 39.42 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3292, allocations: 0 / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.3587, allocations: 3.233 MB / 1.336 GB, free: 6.594 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.3, allocations: 7.609 kB / 1.336 GB, free: 6.59 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.77521510468796]