Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001804/0.001804, 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.002363/0.002363, allocations: 211.5 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.812 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.347/3.347, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 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.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.002083/0.002083, allocations: 67.61 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 181.9 MB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002082/0.3301, allocations: 0.8064 MB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3316, allocations: 1.168 MB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.3317, allocations: 4 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.3317, allocations: 7.875 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.3318, allocations: 11.86 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.3323, allocations: 146.8 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3325, allocations: 143.7 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.3326, allocations: 20.27 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.3327, allocations: 63.89 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.3328, allocations: 47.75 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.3328, allocations: 16 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.3329, allocations: 31.97 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.3329, allocations: 15.98 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.333, allocations: 39.86 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3332, allocations: 163.3 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.3332, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3332, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3332, allocations: 3.938 kB / 1.366 GB, free: 11.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005998/0.3338, allocations: 359.8 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3339, allocations: 8.031 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.3339, allocations: 38.75 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.3339, allocations: 12.88 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.334, allocations: 126.3 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3341, allocations: 8.375 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.3341, allocations: 8.375 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.3343, allocations: 84.58 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3343, allocations: 3.938 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3343, allocations: 8 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3343, allocations: 0 / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.3345, allocations: 55.95 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/0.3352, allocations: 327.7 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.3354, allocations: 46.56 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3355, allocations: 36.86 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3355, allocations: 7.984 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.3358, allocations: 87.25 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3358, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004844/0.3363, allocations: 125.8 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.3364, allocations: 51.41 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3365, allocations: 129.7 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.3365, allocations: 33.7 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.3366, allocations: 104.1 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.3367, allocations: 19.78 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/0.3367, allocations: 41.69 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3369, allocations: 314.8 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.3371, allocations: 81.72 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.3373, allocations: 142.8 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.3376, allocations: 120.2 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3376, allocations: 0 / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004845/0.3381, allocations: 225 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.3381, allocations: 37.69 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3382, allocations: 4 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3382, allocations: 0 / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.3383, allocations: 12.05 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.3383, allocations: 7.938 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.3385, allocations: 31.95 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.3385, allocations: 12.09 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001424/0.3387, allocations: 122.9 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.3387, allocations: 3.953 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.3387, allocations: 16.36 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3387, allocations: 4 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3387, allocations: 3.938 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3387, allocations: 0 / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.3389, allocations: 156.7 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3389, allocations: 0 / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.339, allocations: 15.92 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.339, allocations: 0 / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.339, allocations: 0 / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.339, allocations: 0 / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.339, allocations: 3.938 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.3393, allocations: 129 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.3393, allocations: 7.953 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3394, allocations: 4 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.3394, allocations: 7.984 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.3395, allocations: 23.91 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3395, allocations: 128 / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.319e-05/0.3396, allocations: 91.27 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3396, allocations: 7.938 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002322/0.3398, allocations: 23.94 kB / 1.369 GB, free: 7.871 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008029/0.3406, allocations: 0.6632 MB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004799/0.3411, allocations: 189 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3411, allocations: 0 / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.3412, allocations: 35.97 kB / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.3415, allocations: 13.47 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.3441, allocations: 1.73 MB / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.3442, allocations: 79.33 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.787e-05/0.3442, allocations: 4 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.3443, allocations: 19.42 kB / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of SimCode: time 1.102e-06/0.3443, allocations: 4 kB / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.376, allocations: 3.471 MB / 1.375 GB, free: 1.645 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.28, allocations: 23.61 kB / 1.375 GB, free: 1.629 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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: 18.110273380298167]