Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001789/0.001789, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00197/0.00197, allocations: 212 kB / 22.24 MB, free: 4.855 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.246/3.246, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_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.002011/0.002011, allocations: 72.23 kB / 1.186 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3179, allocations: 181.9 MB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00214/0.32, allocations: 0.8842 MB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3213, allocations: 0.9221 MB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.3213, allocations: 4 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.224e-05/0.3214, allocations: 19.8 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.777e-05/0.3215, allocations: 11.81 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.3217, allocations: 51.88 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.3218, allocations: 131.6 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.322, allocations: 33.7 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.3221, allocations: 51.84 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.253e-05/0.3222, allocations: 55.69 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.3222, allocations: 16 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.04e-05/0.3223, allocations: 19.94 kB / 1.366 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.3223, allocations: 31.92 kB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.3224, allocations: 47.78 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3226, allocations: 155.6 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3226, allocations: 0 / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3226, allocations: 0 / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3226, allocations: 0 / 1.366 GB, free: 11.85 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000586/0.3232, allocations: 361.7 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3232, allocations: 8.031 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.3233, allocations: 50.73 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.3235, allocations: 32.83 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.3238, allocations: 163 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3238, allocations: 8.375 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3238, allocations: 11.94 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.324, allocations: 97.64 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.324, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3241, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3241, allocations: 8 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.3242, allocations: 75.89 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.3248, allocations: 351.7 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.3251, allocations: 74.67 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/0.3252, allocations: 36.84 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.3252, allocations: 4 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3252, allocations: 38.44 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3252, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003622/0.3256, allocations: 121.6 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3256, allocations: 51.41 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3258, allocations: 155.8 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.3258, allocations: 33.7 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.3259, allocations: 112.2 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.3259, allocations: 19.89 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.326, allocations: 29.7 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3261, allocations: 326.8 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.3262, allocations: 27.98 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3264, allocations: 109.8 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.3265, allocations: 57 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3265, allocations: 0 / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002468/0.3268, allocations: 125.4 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3268, allocations: 4 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3268, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3268, allocations: 4 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.3269, allocations: 11.98 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3269, allocations: 0 / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.617e-05/0.327, allocations: 11.92 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.327, allocations: 4 kB / 1.368 GB, free: 9.164 MB / 1.061 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.0001049/0.3271, allocations: 128.8 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.3271, allocations: 19.84 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.3272, allocations: 20.7 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3272, allocations: 3.984 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3272, allocations: 0 / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3272, allocations: 0 / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.3274, allocations: 168.7 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3274, allocations: 0 / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/0.3275, allocations: 15.92 kB / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3275, allocations: 0 / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3275, allocations: 4 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3275, allocations: 288 / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3275, allocations: 8.312 kB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.3277, allocations: 199.4 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.3278, allocations: 23.77 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3278, allocations: 0 / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3279, allocations: 4 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.328, allocations: 23.95 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.328, allocations: 0 / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.262e-05/0.3281, allocations: 121.8 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3281, allocations: 4 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002331/0.3283, allocations: 23.94 kB / 1.369 GB, free: 8.344 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: 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.0005864/0.3289, allocations: 0.7319 MB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.3291, allocations: 71.89 kB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3291, allocations: 0 / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.3292, allocations: 31.92 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3295, allocations: 18.05 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.3316, allocations: 1.657 MB / 1.371 GB, free: 5.734 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.3317, allocations: 97.05 kB / 1.371 GB, free: 5.621 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.057e-05/0.3317, allocations: 4.672 kB / 1.371 GB, free: 5.613 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.3318, allocations: 31.42 kB / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.3318, allocations: 0 / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.3611, allocations: 3.22 MB / 1.375 GB, free: 2.512 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.32, allocations: 13.69 kB / 1.375 GB, free: 2.504 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.826857016421854]