Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.298/1.298, allocations: 249.4 MB / 256.7 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 185.2 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 98.69 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.382e-05/1.386e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2471, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6735/0.9206, allocations: 131.7 MB / 1.013 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.9209, allocations: 71.27 kB / 1.013 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001679/0.9226, allocations: 366.4 kB / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.9226, allocations: 0 / 1.014 GB, free: 6.668 MB / 0.6355 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.0003708/0.923, allocations: 342.6 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.9231, allocations: 8.031 kB / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.9231, allocations: 0 / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.9233, allocations: 174.9 kB / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.9233, allocations: 0 / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.9233, allocations: 0 / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.07e-05/0.9234, allocations: 11.06 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.36e-05/0.9235, allocations: 33.69 kB / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.9235, allocations: 0 / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.9235, allocations: 0 / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.9235, allocations: 0 / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.924, allocations: 252.1 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.924, allocations: 30.52 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.9241, allocations: 8.172 kB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.9241, allocations: 4.062 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.9241, allocations: 30.56 kB / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.9241, allocations: 0 / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001784/0.9243, allocations: 41 kB / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.9244, allocations: 51.41 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.9244, allocations: 103.4 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.9245, allocations: 25.7 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.9245, allocations: 80.14 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.9245, allocations: 11.34 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.9246, allocations: 0 / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.9247, allocations: 314.8 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.9247, allocations: 8.688 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.21e-05/0.9248, allocations: 3.438 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.93e-05/0.9248, allocations: 8.062 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9248, allocations: 0 / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.652e-05/0.9249, allocations: 36.77 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.9249, allocations: 8 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.9249, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.9249, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.925, allocations: 16.8 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.925, allocations: 3.906 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.9251, allocations: 16.02 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.9251, allocations: 3.312 kB / 1.015 GB, free: 4.922 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.146e-05/0.9252, allocations: 101 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.9252, allocations: 4 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.9253, allocations: 56.42 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.9254, allocations: 8.016 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9254, allocations: 0 / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.9254, allocations: 4 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.9255, allocations: 138.2 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.9255, allocations: 3.938 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.9256, allocations: 15.98 kB / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9256, allocations: 0 / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.9256, allocations: 0 / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.9256, allocations: 4 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.9257, allocations: 3.906 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001219/0.9258, allocations: 135.1 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.9258, allocations: 81.02 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.9258, allocations: 3.938 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.9259, allocations: 16.02 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.926, allocations: 3.062 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.926, allocations: 0 / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.465e-05/0.926, allocations: 79.28 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002013/0.9262, allocations: 7.984 kB / 1.016 GB, free: 4.203 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.9264, allocations: 95.25 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.851e-05/0.9265, allocations: 11.44 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9265, allocations: 8.062 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.9265, allocations: 7.062 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.9267, allocations: 0 / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.927, allocations: 63.53 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.9273, allocations: 0.688 MB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.9273, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of Templates: time 0.002156/0.9294, allocations: 417.2 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches