Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 108 kB / 15.61 MB, free: 152 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.002049/0.002049, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.653/2.653, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 67.86 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2521, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002374/0.2545, allocations: 1.488 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00026/0.2547, allocations: 107.7 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.2548, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.2548, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.2549, allocations: 11.88 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.255, allocations: 19.97 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.2551, allocations: 43.8 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.2552, allocations: 19.97 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.2553, allocations: 19.92 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.2553, allocations: 15.92 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2553, allocations: 4 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.602e-05/0.2554, allocations: 19.98 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.2554, allocations: 11.98 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.2555, allocations: 23.86 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.2556, allocations: 59.8 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2556, allocations: 4 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.01e-07/0.2556, allocations: 0 / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2556, allocations: 0 / 1.066 GB, free: 12.37 MB / 0.8262 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.000481/0.2561, allocations: 375.5 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.2561, allocations: 8.031 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.2562, allocations: 38.75 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.2562, allocations: 4.844 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.2563, allocations: 169.9 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2563, allocations: 12.31 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.2563, allocations: 384 / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.2566, allocations: 78.19 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2566, allocations: 3.938 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.2566, allocations: 7.938 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.2566, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.2569, allocations: 79.92 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.2572, allocations: 284.8 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.2574, allocations: 72.31 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.2576, allocations: 44.92 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.2578, allocations: 105.1 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.2578, allocations: 34.56 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2578, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005283/0.2584, allocations: 153.4 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.2584, allocations: 55.34 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.2585, allocations: 125.8 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2585, allocations: 29.7 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.2586, allocations: 92.12 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2586, allocations: 11.81 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.2587, allocations: 17.72 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2588, allocations: 318.8 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.259, allocations: 35.97 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.2591, allocations: 35.95 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.2594, allocations: 84.72 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2594, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003145/0.2597, allocations: 109.6 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2597, allocations: 9.703 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.2597, allocations: 4 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.2598, allocations: 0 / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2599, allocations: 15.98 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2599, allocations: 3.984 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.454e-05/0.26, allocations: 15.89 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.26, allocations: 0 / 1.068 GB, free: 9.734 MB / 0.8262 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 8.603e-05/0.2601, allocations: 121.8 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.2601, allocations: 4 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.2604, allocations: 117.5 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2605, allocations: 0 / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2605, allocations: 3.938 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.2605, allocations: 384 / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.2607, allocations: 193.6 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2607, allocations: 3.938 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.375e-05/0.2608, allocations: 23.97 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2608, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.2608, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.2608, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2608, allocations: 3.984 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.2612, allocations: 215.3 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.2612, allocations: 81.02 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2612, allocations: 0 / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.2613, allocations: 15.98 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.2614, allocations: 3.984 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.2614, allocations: 4 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.2615, allocations: 96.77 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2615, allocations: 3.938 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002085/0.2617, allocations: 12 kB / 1.069 GB, free: 8.746 MB / 0.8262 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.0006518/0.2623, allocations: 0.7435 MB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.2627, allocations: 91.91 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2627, allocations: 3.938 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.2628, allocations: 35.97 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.2631, allocations: 11.94 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.2635, allocations: 183.1 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.2638, allocations: 0.6846 MB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.2638, allocations: 4 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.2638, allocations: 19.42 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2638, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8656/1.129, allocations: 1.844 MB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.34, allocations: 11.92 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches