Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001284/0.001284, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.42/1.42, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.553/2.553, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 64.16 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.329, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001996/0.331, allocations: 0.6652 MB / 1.019 GB, free: 9.941 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.332, allocations: 0.804 MB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.3321, allocations: 0 / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.3321, allocations: 3.938 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-05/0.3322, allocations: 3.938 kB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.3323, allocations: 19.97 kB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.326e-05/0.3324, allocations: 12 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.3325, allocations: 11.98 kB / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.3326, allocations: 15.88 kB / 1.019 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.3326, allocations: 3.984 kB / 1.019 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3326, allocations: 4 kB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.3327, allocations: 0 / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.3327, allocations: 11.94 kB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.3327, allocations: 4 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.443e-05/0.3328, allocations: 31.89 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3328, allocations: 0 / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3328, allocations: 0 / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3328, allocations: 3.984 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004873/0.3333, allocations: 333.8 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3334, allocations: 12.91 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.3334, allocations: 4.844 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3335, allocations: 168.3 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3336, allocations: 384 / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3336, allocations: 4.375 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3338, allocations: 50.23 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3338, allocations: 192 / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3338, allocations: 3.938 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3338, allocations: 0 / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.334, allocations: 39.89 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.3344, allocations: 248.9 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3345, allocations: 42.44 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.447e-05/0.3346, allocations: 24.91 kB / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3347, allocations: 3.984 kB / 1.02 GB, free: 7.93 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.3347, allocations: 34.56 kB / 1.02 GB, free: 7.887 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.3347, allocations: 7.938 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.000375/0.3351, allocations: 81.64 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3351, allocations: 51.41 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.3352, allocations: 97.84 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3352, allocations: 25.7 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.3353, allocations: 88.27 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3353, allocations: 11.89 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.3354, allocations: 9.719 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3355, allocations: 318.8 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.3356, allocations: 11.98 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.809e-05/0.3357, allocations: 15.98 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.3359, allocations: 48.81 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3359, allocations: 0 / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000208/0.3361, allocations: 73.5 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3362, allocations: 4 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3362, allocations: 0 / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3362, allocations: 0 / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.3363, allocations: 8 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3363, allocations: 4.031 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.3364, allocations: 7.984 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.3364, allocations: 0 / 1.021 GB, free: 6.977 MB / 0.795 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 (2): * Single equations (assignments): 2 * 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 8.937e-05/0.3365, allocations: 113.8 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.3365, allocations: 4 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.3367, allocations: 72.7 kB / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3367, allocations: 4.031 kB / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3367, allocations: 0 / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3368, allocations: 4 kB / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.3369, allocations: 157.6 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3369, allocations: 0 / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.337, allocations: 7.984 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.337, allocations: 0 / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.337, allocations: 4 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.337, allocations: 3.938 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.337, allocations: 0 / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3373, allocations: 171.4 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.3374, allocations: 77.11 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3374, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.3375, allocations: 11.92 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.3375, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3375, allocations: 4 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.3376, allocations: 87.3 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3376, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002315/0.3378, allocations: 4 kB / 1.022 GB, free: 6.164 MB / 0.795 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 (2): * Single equations (assignments): 2 * 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.0001498/0.338, allocations: 99.25 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.3382, allocations: 31.97 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3382, allocations: 64 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.533e-05/0.3383, allocations: 31.91 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3386, allocations: 11.88 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.3389, allocations: 138.5 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.3393, allocations: 0.6807 MB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.3393, allocations: 7.438 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3393, allocations: 4.062 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of Templates: time 0.001968/0.3413, allocations: 0.5344 MB / 1.023 GB, free: 4.57 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches