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.001443/0.001443, allocations: 110.5 kB / 16.37 MB, free: 6.016 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.001565/0.001565, allocations: 194.3 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.477/2.477, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 60.88 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.302, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003658/0.3057, allocations: 1.5 MB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004447/0.3062, allocations: 124.4 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.3063, allocations: 0 / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.342e-05/0.3063, allocations: 3.938 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.118e-05/0.3064, allocations: 11.91 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.3068, allocations: 19.98 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3069, allocations: 43.84 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.307, allocations: 7.984 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.3071, allocations: 19.94 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.3072, allocations: 23.91 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3072, allocations: 4 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.3073, allocations: 19.98 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.3074, allocations: 15.92 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.3074, allocations: 23.86 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.3076, allocations: 59.8 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3076, allocations: 0 / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3076, allocations: 4 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3076, allocations: 0 / 1.029 GB, free: 144 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006834/0.3083, allocations: 376.4 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3084, allocations: 12.03 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.3084, allocations: 8.844 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.3086, allocations: 184.2 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3086, allocations: 384 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.3086, allocations: 384 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.309, allocations: 74.22 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.309, allocations: 4.188 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.309, allocations: 3.938 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3091, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.3095, allocations: 75.91 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.31, allocations: 280.9 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.3102, allocations: 70.47 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.3104, allocations: 44.91 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.3108, allocations: 113.1 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3108, allocations: 34.56 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.3108, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0007228/0.3116, allocations: 145.4 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3116, allocations: 51.41 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3118, allocations: 137 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3118, allocations: 25.7 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.3119, allocations: 92.08 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3119, allocations: 15.8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.3119, allocations: 17.66 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3121, allocations: 314.8 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3123, allocations: 47.89 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.3125, allocations: 35.95 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.3128, allocations: 76.78 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3128, allocations: 7.875 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004051/0.3132, allocations: 109.6 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3133, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3133, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.3133, allocations: 7.984 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3135, allocations: 11.98 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3135, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.3136, allocations: 11.98 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3136, allocations: 4 kB / 1.031 GB, free: 13.55 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 (3): * Single equations (assignments): 3 * 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 9.755e-05/0.3137, allocations: 121.7 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.3138, allocations: 11.89 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.3142, allocations: 117.8 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3142, allocations: 4.031 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3143, allocations: 4 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3143, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.3145, allocations: 181.6 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3145, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3146, allocations: 23.98 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3146, allocations: 3.984 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3147, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3147, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3147, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.3151, allocations: 211.3 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.3152, allocations: 89 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3152, allocations: 0 / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.3154, allocations: 11.98 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.3155, allocations: 0 / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3155, allocations: 8 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.918e-05/0.3156, allocations: 103.2 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3156, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003663/0.316, allocations: 8 kB / 1.032 GB, free: 12.57 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 (3): * Single equations (assignments): 3 * 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.0001786/0.3161, allocations: 107.2 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.3166, allocations: 83.91 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3166, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.3168, allocations: 43.91 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.3172, allocations: 11.88 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.3177, allocations: 153.5 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.318, allocations: 0.6846 MB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.3181, allocations: 11.84 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.3181, allocations: 7.438 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.3181, allocations: 4 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.004169/0.3223, allocations: 0.7945 MB / 1.034 GB, free: 10.61 MB / 0.8106 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches