Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008763/0.0008764, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.748/2.748, allocations: 436.5 MB / 0.7104 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 12 kB / 0.8708 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9218/0.9223, allocations: 153.6 MB / 1.021 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001843/0.9242, allocations: 1.192 MB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000328/0.9245, allocations: 112.5 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.9246, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.9246, allocations: 3.938 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.9247, allocations: 7.984 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.9249, allocations: 15.98 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.256e-05/0.925, allocations: 27.95 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.9251, allocations: 8 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.693e-05/0.9252, allocations: 23.91 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.9253, allocations: 19.92 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.9253, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.9254, allocations: 15.98 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.9254, allocations: 11.92 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.9255, allocations: 37.64 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.687e-05/0.9256, allocations: 35.94 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.9256, allocations: 0 / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9256, allocations: 0 / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.9256, allocations: 4 kB / 1.022 GB, free: 15.62 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.0005813/0.9262, allocations: 381.1 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.9263, allocations: 11.98 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.9263, allocations: 7.906 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.9264, allocations: 174.9 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.9265, allocations: 4 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.9265, allocations: 0 / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.9268, allocations: 89.59 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.9268, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.9268, allocations: 3.984 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.9268, allocations: 8 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.9271, allocations: 95.92 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.9275, allocations: 284.8 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.9278, allocations: 82.47 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.928, allocations: 109.2 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.9281, allocations: 34.56 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.9281, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005738/0.9287, allocations: 177.5 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.9287, allocations: 55.34 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.9288, allocations: 136.7 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.9289, allocations: 25.7 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.9289, allocations: 88.14 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.929, allocations: 11.89 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.929, allocations: 0 / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.9291, allocations: 318.8 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.9293, allocations: 51.95 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.9294, allocations: 47.91 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.9296, allocations: 47.95 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9296, allocations: 0 / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003204/0.9299, allocations: 133.5 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.9299, allocations: 11.94 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9299, allocations: 3.984 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.93, allocations: 4 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.9301, allocations: 19.92 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.9301, allocations: 8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.9302, allocations: 15.92 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.9302, allocations: 8 kB / 1.025 GB, free: 12.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.189e-05/0.9303, allocations: 117.8 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.9303, allocations: 7.859 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.9307, allocations: 141.5 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.9307, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.9307, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9307, allocations: 4 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.9309, allocations: 173.6 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9309, allocations: 0 / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.712e-05/0.931, allocations: 27.97 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.931, allocations: 7.891 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.9311, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.9311, allocations: 7.984 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9311, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.9315, allocations: 231.7 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.9315, allocations: 81.11 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.9315, allocations: 3.953 kB / 1.025 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.9316, allocations: 15.98 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.9317, allocations: 11.98 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.9317, allocations: 0 / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.726e-05/0.9318, allocations: 95.27 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9318, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000222/0.932, allocations: 12 kB / 1.026 GB, free: 11.97 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 (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.0001822/0.9322, allocations: 103.2 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.9326, allocations: 107.8 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9326, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.9327, allocations: 43.97 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.9329, allocations: 18 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.9333, allocations: 156.6 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.9336, allocations: 0.6926 MB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.9336, allocations: 8 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.9336, allocations: 7.438 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.9337, allocations: 0 / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of Templates: time 0.003038/0.9367, allocations: 0.6366 MB / 1.027 GB, free: 10.15 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches