Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001799/0.001799, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.556/2.556, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 70.34 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001827/0.3148, allocations: 0.6572 MB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008294/0.3157, allocations: 0.8141 MB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.3157, allocations: 4 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.3158, allocations: 3.984 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.3158, allocations: 3.938 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.316, allocations: 7.938 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.546e-05/0.3161, allocations: 23.92 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3162, allocations: 7.984 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.3162, allocations: 7.984 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.3163, allocations: 11.94 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3163, allocations: 4 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.3163, allocations: 4 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.3163, allocations: 7.984 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.3164, allocations: 7.938 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.592e-05/0.3164, allocations: 23.91 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3164, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3164, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3165, allocations: 0 / 1.028 GB, free: 476 kB / 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.000397/0.3169, allocations: 331.6 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3169, allocations: 12.03 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.3169, allocations: 8.844 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.3171, allocations: 172.3 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3171, allocations: 4.375 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.3171, allocations: 384 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3173, allocations: 54.17 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3173, allocations: 192 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3173, allocations: 3.938 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3173, allocations: 3.984 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.3175, allocations: 35.97 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.3177, allocations: 245 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3179, allocations: 42.44 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.318, allocations: 16.91 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.318, allocations: 8 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.318, allocations: 34.56 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.318, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003048/0.3183, allocations: 73.64 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.3184, allocations: 59.34 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.3184, allocations: 109.9 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3185, allocations: 25.7 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.3185, allocations: 84.14 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.3185, allocations: 3.906 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.3186, allocations: 13.72 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.3187, allocations: 314.8 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.3187, allocations: 19.98 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.3188, allocations: 15.98 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.319, allocations: 44.81 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.319, allocations: 0 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000168/0.3191, allocations: 65.52 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3192, allocations: 15.06 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3192, allocations: 96 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3192, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.3193, allocations: 11.92 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3193, allocations: 4 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.3193, allocations: 3.984 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.3194, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 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 6.522e-05/0.3194, allocations: 113.7 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.3194, allocations: 0 / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.3197, allocations: 76.78 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3197, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3197, allocations: 4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.3197, allocations: 3.984 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3199, allocations: 157.6 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3199, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.3199, allocations: 11.98 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3199, allocations: 3.938 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3199, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.32, allocations: 4.031 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.32, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.3202, allocations: 163.5 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.3202, allocations: 81.02 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.3202, allocations: 4 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.3203, allocations: 12.02 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.3203, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3204, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.3204, allocations: 83.28 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3204, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002142/0.3206, allocations: 4 kB / 1.031 GB, free: 13.62 MB / 0.8106 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.0001319/0.3208, allocations: 99.23 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.321, allocations: 47.84 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.321, allocations: 0 / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.3211, allocations: 23.97 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3213, allocations: 11.81 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.3216, allocations: 104.3 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.3218, allocations: 0.673 MB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.99e-05/0.3218, allocations: 7.938 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.3218, allocations: 11.44 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3218, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of Templates: time 0.002304/0.3242, allocations: 442.3 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches