Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006756/0.006756, allocations: 169.5 kB / 16.27 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004241, allocations: 12 kB / 0.8729 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.7126, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.0009615/0.7136, allocations: 442 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.7148, allocations: 0.8001 MB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.7148, allocations: 4 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.7149, allocations: 3.938 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/0.7149, allocations: 3.938 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.714e-05/0.7151, allocations: 15.98 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.676e-05/0.7152, allocations: 39.86 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.7153, allocations: 7.984 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.7153, allocations: 15.98 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.7155, allocations: 19.91 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.7155, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.7155, allocations: 7.938 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.7156, allocations: 4 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.7156, allocations: 41.62 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.687e-05/0.7157, allocations: 35.88 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.7157, allocations: 3.938 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7157, allocations: 0 / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.7157, allocations: 0 / 1.024 GB, free: 14.39 MB / 0.7794 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.0006414/0.7164, allocations: 373.4 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.7164, allocations: 8.031 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.7165, allocations: 12.78 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.7166, allocations: 172.2 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.7166, allocations: 384 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.7167, allocations: 4.375 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.717, allocations: 82.22 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.717, allocations: 4.172 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.717, allocations: 3.938 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.717, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.7174, allocations: 83.94 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.7178, allocations: 268.9 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.7181, allocations: 70.47 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.7183, allocations: 48.92 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.7184, allocations: 4 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.7184, allocations: 34.55 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.7184, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0007332/0.7191, allocations: 165.5 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.7192, allocations: 51.41 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.7193, allocations: 109.8 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.7193, allocations: 25.7 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.7194, allocations: 92.03 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.7194, allocations: 11.84 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.7195, allocations: 17.72 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7196, allocations: 310.8 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.7198, allocations: 43.95 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.72, allocations: 43.97 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.7205, allocations: 92.78 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7205, allocations: 3.938 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004441/0.721, allocations: 117.6 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.721, allocations: 8 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.721, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.721, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.7212, allocations: 31.91 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7212, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.7213, allocations: 23.89 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.7213, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 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 7.957e-05/0.7214, allocations: 113.8 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.7215, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004836/0.722, allocations: 133.5 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.722, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.722, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.722, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.7223, allocations: 173.6 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7223, allocations: 3.938 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.7225, allocations: 19.98 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.7225, allocations: 4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.7225, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7225, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.7225, allocations: 4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.723, allocations: 227.3 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.7231, allocations: 81.05 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.7231, allocations: 0 / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.7233, allocations: 19.98 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.7233, allocations: 7.984 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.7233, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.867e-05/0.7234, allocations: 87.27 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7234, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003365/0.7238, allocations: 8 kB / 1.028 GB, free: 10.92 MB / 0.7794 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.0001329/0.7239, allocations: 99.23 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004584/0.7244, allocations: 92.34 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7244, allocations: 4 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.7246, allocations: 51.91 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.725, allocations: 14.59 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.7255, allocations: 140.7 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.7258, allocations: 0.6809 MB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.788e-05/0.7259, allocations: 3.984 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.7259, allocations: 11.44 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.7259, allocations: 0 / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of Templates: time 0.003059/0.729, allocations: 0.5259 MB / 1.029 GB, free: 9.246 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches