Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001427/0.001427, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001587/0.001587, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.552/1.552, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.059/3.059, allocations: 0.49 GB / 0.7923 GB, free: 1.336 MB / 0.6231 GB " [Timeout remaining time 176] 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.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="cs",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.002022/0.002022, allocations: 59.91 kB / 1.15 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135/1.137, allocations: 176.1 MB / 1.322 GB, free: 24.95 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001788/1.138, allocations: 0.6993 MB / 1.322 GB, free: 24.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008621/1.139, allocations: 0.8395 MB / 1.323 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/1.139, allocations: 0 / 1.323 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/1.139, allocations: 3.938 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.077e-05/1.139, allocations: 10.62 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/1.139, allocations: 14.73 kB / 1.323 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.416e-05/1.14, allocations: 48.81 kB / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/1.14, allocations: 6.938 kB / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.467e-05/1.14, allocations: 24.78 kB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.257e-05/1.14, allocations: 19.69 kB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/1.14, allocations: 5.281 kB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/1.14, allocations: 2.625 kB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/1.14, allocations: 10.64 kB / 1.323 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/1.14, allocations: 21.86 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/1.14, allocations: 39.02 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.14, allocations: 0 / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/1.14, allocations: 0 / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.4e-06/1.14, allocations: 0 / 1.323 GB, free: 23.76 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004563/1.14, allocations: 368.7 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/1.14, allocations: 12.2 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.393e-05/1.14, allocations: 6.531 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.104e-05/1.141, allocations: 38.08 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.28e-05/1.141, allocations: 3.812 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.379e-05/1.141, allocations: 170.8 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/1.141, allocations: 384 / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/1.141, allocations: 7.188 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/1.141, allocations: 74.03 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/1.141, allocations: 0 / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/1.141, allocations: 0 / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.141, allocations: 3.984 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/1.141, allocations: 63.69 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/1.142, allocations: 278.8 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/1.142, allocations: 48.36 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/1.142, allocations: 39.34 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/1.142, allocations: 7.938 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/1.142, allocations: 34.56 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.142, allocations: 0 / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005458/1.142, allocations: 131.5 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/1.142, allocations: 61.39 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.305e-05/1.143, allocations: 105.1 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/1.143, allocations: 25.7 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/1.143, allocations: 86.73 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/1.143, allocations: 14.41 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/1.143, allocations: 19.73 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.929e-05/1.143, allocations: 314.8 kB / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/1.143, allocations: 36.14 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/1.143, allocations: 30.69 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/1.143, allocations: 68.39 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.143, allocations: 0 / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003044/1.144, allocations: 104.8 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.144, allocations: 5.5 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/1.144, allocations: 0 / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.144, allocations: 2.844 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/1.144, allocations: 14.42 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.144, allocations: 2.531 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/1.144, allocations: 12.84 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/1.144, allocations: 6.781 kB / 1.325 GB, free: 21.92 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.865e-05/1.144, allocations: 113.1 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/1.144, allocations: 6.859 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/1.144, allocations: 106.9 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/1.144, allocations: 6.594 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.144, allocations: 0 / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/1.144, allocations: 0 / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/1.144, allocations: 171.5 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.144, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/1.144, allocations: 22.23 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.144, allocations: 0 / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/1.144, allocations: 0 / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.144, allocations: 0 / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.144, allocations: 3.188 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/1.145, allocations: 203.2 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/1.145, allocations: 81.06 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/1.145, allocations: 6.344 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/1.145, allocations: 8.375 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/1.145, allocations: 13.66 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/1.145, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.571e-05/1.145, allocations: 87.88 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.145, allocations: 0 / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002149/1.145, allocations: 5.469 kB / 1.326 GB, free: 21.19 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005245/1.146, allocations: 0.7293 MB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003252/1.146, allocations: 67.91 kB / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.146, allocations: 3.125 kB / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/1.146, allocations: 36.58 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/1.146, allocations: 12.16 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/1.147, allocations: 155.9 kB / 1.327 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.855e-05/1.147, allocations: 0.6878 MB / 1.328 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.635e-05/1.147, allocations: 4 kB / 1.328 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/1.147, allocations: 14.09 kB / 1.328 GB, free: 19.62 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/1.147, allocations: 0 / 1.328 GB, free: 19.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/1.164, allocations: 1.664 MB / 1.329 GB, free: 19.21 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/9.563, allocations: 12.81 kB / 1.329 GB, free: 19.21 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: 16.51898232701933]