Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002057/0.002057, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.491/1.491, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.83/2.83, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002024, allocations: 67.89 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7077/0.7098, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002839/0.7127, allocations: 1.554 MB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003369/0.713, allocations: 108.5 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.713, allocations: 4 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.251e-05/0.7131, allocations: 0 / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.245e-05/0.7132, allocations: 7.938 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.7133, allocations: 15.98 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.186e-05/0.7134, allocations: 47.78 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.7135, allocations: 12 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/0.7136, allocations: 15.92 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.7136, allocations: 27.91 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.7137, allocations: 3.984 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.625e-05/0.7137, allocations: 19.98 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.7138, allocations: 0 / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.7138, allocations: 31.8 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.714, allocations: 43.88 kB / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.714, allocations: 0 / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.723e-06/0.714, allocations: 0 / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.714, allocations: 0 / 1.018 GB, free: 0.8711 MB / 0.7637 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.0006177/0.7146, allocations: 385.2 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.7147, allocations: 12.03 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.7147, allocations: 4.844 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.7148, allocations: 176.2 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.7149, allocations: 8.312 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.7149, allocations: 4.312 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.7152, allocations: 74.2 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.7152, allocations: 4.188 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.7152, allocations: 11.94 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.7152, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.7155, allocations: 71.92 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.716, allocations: 281 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.7162, allocations: 74.41 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.7164, allocations: 44.91 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.7167, allocations: 105.1 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.7168, allocations: 38.56 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.7168, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006417/0.7174, allocations: 145.6 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.7175, allocations: 63.33 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.7176, allocations: 125.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.7176, allocations: 25.7 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.7177, allocations: 92.12 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.7177, allocations: 11.84 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.7178, allocations: 17.72 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.7179, allocations: 318.8 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.7181, allocations: 39.97 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.7183, allocations: 35.95 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.7186, allocations: 80.78 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.7186, allocations: 3.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003728/0.719, allocations: 117.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.719, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.719, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.719, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.7192, allocations: 15.98 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7192, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.955e-05/0.7193, allocations: 19.92 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.7193, allocations: 0 / 1.021 GB, free: 14.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.7194, allocations: 121.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.7195, allocations: 7.906 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.7199, allocations: 121.5 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7199, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.7199, allocations: 3.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.7199, allocations: 7.922 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.7201, allocations: 177.6 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7201, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.7203, allocations: 19.97 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7203, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.7203, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7203, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7203, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.7207, allocations: 211.3 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.7208, allocations: 81.11 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.7208, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.7209, allocations: 11.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.721, allocations: 7.984 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.721, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.7211, allocations: 106.8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.074e-06/0.7211, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002349/0.7213, allocations: 15.84 kB / 1.022 GB, free: 13.28 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 (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.0001686/0.7215, allocations: 99.77 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.7219, allocations: 79.92 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7219, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.7221, allocations: 44.33 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.7224, allocations: 11.88 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.7227, allocations: 163.2 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.7231, allocations: 0.6926 MB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.7231, allocations: 96 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.7231, allocations: 7.438 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.7232, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of Templates: time 0.003195/0.7264, allocations: 0.6551 MB / 1.023 GB, free: 11.47 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches