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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_10_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.009288/0.009288, allocations: 101.7 kB / 15.73 MB, free: 6.059 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.001817/0.001817, allocations: 195 kB / 16.68 MB, free: 5.969 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.562/2.562, allocations: 437.1 MB / 0.7106 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 75.83 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2653, allocations: 151.6 MB / 1.166 GB, free: 7.215 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002268/0.2676, allocations: 1.488 MB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002841/0.2679, allocations: 108.5 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.2679, allocations: 0 / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.268, allocations: 7.938 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.652e-05/0.268, allocations: 3.938 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.2682, allocations: 23.97 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.59e-05/0.2683, allocations: 43.86 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.051e-05/0.2684, allocations: 15.92 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.2684, allocations: 19.92 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.2685, allocations: 23.91 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.2685, allocations: 4 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.668e-05/0.2685, allocations: 19.98 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.2686, allocations: 11.92 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.2686, allocations: 23.86 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.2687, allocations: 60.02 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2688, allocations: 0 / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2688, allocations: 8 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.2688, allocations: 0 / 1.168 GB, free: 5.336 MB / 0.92 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.0004988/0.2693, allocations: 375.1 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.2693, allocations: 12.03 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.2694, allocations: 38.69 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.2694, allocations: 8.891 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2695, allocations: 176 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.2695, allocations: 384 / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.2695, allocations: 8.375 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.2698, allocations: 74.2 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2698, allocations: 3.938 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.2698, allocations: 0 / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2698, allocations: 0 / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.2701, allocations: 79.92 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.2704, allocations: 288.8 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.2706, allocations: 66.53 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.2708, allocations: 40.92 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.271, allocations: 113.1 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.271, allocations: 30.56 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.271, allocations: 0 / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005289/0.2716, allocations: 153.5 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.2716, allocations: 55.41 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.2717, allocations: 121.8 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2717, allocations: 29.7 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.2718, allocations: 96.06 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.2718, allocations: 11.91 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.2719, allocations: 13.72 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.272, allocations: 322.8 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2721, allocations: 35.97 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.2723, allocations: 39.95 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.2726, allocations: 81 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2726, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003257/0.2729, allocations: 117.5 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2729, allocations: 15.92 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.2729, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.2729, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2731, allocations: 19.98 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.2731, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.2732, allocations: 7.984 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2732, allocations: 4 kB / 1.17 GB, free: 2.695 MB / 0.92 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.399e-05/0.2733, allocations: 122.6 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.2733, allocations: 0 / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.2736, allocations: 125.4 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2737, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2737, allocations: 4 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2737, allocations: 0 / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.2739, allocations: 185.5 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2739, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.011e-05/0.274, allocations: 19.97 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.274, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.274, allocations: 4 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.274, allocations: 0 / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.274, allocations: 4 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.2744, allocations: 207.3 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.2744, allocations: 81.06 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.2744, allocations: 8 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2745, allocations: 11.98 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.2746, allocations: 11.98 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2746, allocations: 0 / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.2747, allocations: 95.27 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2747, allocations: 3.938 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002089/0.2749, allocations: 8 kB / 1.171 GB, free: 1.715 MB / 0.92 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.0006637/0.2755, allocations: 0.7514 MB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.2759, allocations: 83.84 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2759, allocations: 0 / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.2761, allocations: 43.97 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.2763, allocations: 0 / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.2767, allocations: 187 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.277, allocations: 0.6924 MB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.892e-05/0.277, allocations: 3.938 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.2771, allocations: 23.42 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.2771, allocations: 0 / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.986/2.263, allocations: 1.873 MB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/14.21, allocations: 5.938 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Biquadratic.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches