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.001753/0.001753, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 198.9 kB / 16.79 MB, free: 6.828 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.514/1.514, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.777/2.777, allocations: 461.8 MB / 0.7348 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 72.98 kB / 0.8991 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2856, allocations: 157.4 MB / 1.053 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002213/0.2878, allocations: 0.7261 MB / 1.053 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009664/0.2888, allocations: 0.804 MB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.2889, allocations: 0 / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.2889, allocations: 3.984 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.289, allocations: 4 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.2892, allocations: 19.86 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.152e-05/0.2892, allocations: 15.98 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.2893, allocations: 4 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.2894, allocations: 11.94 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.2895, allocations: 7.984 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2895, allocations: 4 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.2895, allocations: 0 / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.2896, allocations: 3.938 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.2896, allocations: 15.92 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.401e-05/0.2897, allocations: 23.95 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2897, allocations: 3.938 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2897, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2897, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 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.0004405/0.2902, allocations: 331.8 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2902, allocations: 11.97 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.2903, allocations: 8.844 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2904, allocations: 164.3 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2904, allocations: 4.375 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2904, allocations: 4.375 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.2906, allocations: 54.22 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2906, allocations: 192 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2907, allocations: 3.938 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2907, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.2909, allocations: 35.89 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.2913, allocations: 249 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.2915, allocations: 38.5 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.2916, allocations: 24.89 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.2917, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2917, allocations: 34.56 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2917, allocations: 4 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004463/0.2922, allocations: 81.58 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2922, allocations: 51.41 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/0.2923, allocations: 101.9 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2923, allocations: 25.7 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.2924, allocations: 88.25 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.2924, allocations: 3.906 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.2925, allocations: 17.72 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2926, allocations: 310.8 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2927, allocations: 15.98 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2928, allocations: 19.97 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.2931, allocations: 40.83 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2931, allocations: 4 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002637/0.2933, allocations: 73.44 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2934, allocations: 4 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2934, allocations: 4 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2934, allocations: 0 / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2935, allocations: 15.95 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2936, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.2936, allocations: 8 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2936, allocations: 0 / 1.056 GB, free: 4.703 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 8.759e-05/0.2937, allocations: 113.8 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.2938, allocations: 3.984 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.2941, allocations: 80.72 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.2941, allocations: 4 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2941, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2941, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.2943, allocations: 157.6 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2943, allocations: 0 / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.138e-05/0.2944, allocations: 11.98 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2944, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2945, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2945, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2945, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.2948, allocations: 171.4 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.2949, allocations: 77.11 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2949, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.295, allocations: 7.984 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.2951, allocations: 4 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2951, allocations: 4.031 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.2951, allocations: 87.44 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2951, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003265/0.2955, allocations: 4 kB / 1.057 GB, free: 3.895 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.0001766/0.2957, allocations: 99.25 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002647/0.2959, allocations: 35.95 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.296, allocations: 4.062 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.2961, allocations: 15.98 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.2965, allocations: 25.72 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.2969, allocations: 137.1 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.2972, allocations: 0.677 MB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.2972, allocations: 7.438 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of SimCode: time 5.51e-07/0.2972, allocations: 4.062 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of Templates: time 0.002161/0.2994, allocations: 0.5265 MB / 1.058 GB, free: 2.305 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 -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