Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8788/0.8788, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.736/1.736, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9809 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.191e-05, allocations: 12.69 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002595/0.002617, allocations: 1.495 MB / 0.9824 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003119/0.002929, allocations: 107.6 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.002967, allocations: 0 / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.72e-05/0.003015, allocations: 7.922 kB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/0.003083, allocations: 15.92 kB / 0.9825 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.003306, allocations: 23.91 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.106e-05/0.003397, allocations: 39.86 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.003511, allocations: 7.984 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.508e-05/0.003576, allocations: 19.98 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.003626, allocations: 19.92 kB / 0.9827 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.003648, allocations: 7.984 kB / 0.9827 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.743e-05/0.003715, allocations: 19.98 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.003765, allocations: 11.92 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.003789, allocations: 11.98 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.003934, allocations: 71.78 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.003936, allocations: 0 / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003938, allocations: 0 / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003942, allocations: 0 / 0.9828 GB, free: 0.7031 MB / 0.9323 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.0004561/0.004398, allocations: 302 kB / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.004444, allocations: 8.031 kB / 0.9831 GB, free: 376 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.004478, allocations: 30.75 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.004507, allocations: 12.88 kB / 0.9831 GB, free: 324 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.004604, allocations: 125.6 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.004616, allocations: 4.375 kB / 0.9832 GB, free: 168 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.004625, allocations: 4.375 kB / 0.9832 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.004845, allocations: 74.22 kB / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.004853, allocations: 192 / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.004863, allocations: 4.359 kB / 0.9833 GB, free: 80 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.004868, allocations: 4.125 kB / 0.9833 GB, free: 76 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.005102, allocations: 75.92 kB / 0.9834 GB, free: 0 / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.005478, allocations: 256.1 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.005657, allocations: 66.47 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.005782, allocations: 40.92 kB / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.005966, allocations: 39.91 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.005989, allocations: 30.56 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.005991, allocations: 0 / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0004798/0.006471, allocations: 149.7 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.006506, allocations: 59.34 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.006607, allocations: 133.6 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.006623, allocations: 33.7 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.006673, allocations: 92.08 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.006693, allocations: 11.95 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.006729, allocations: 9.719 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.006826, allocations: 322.8 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.006945, allocations: 31.97 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.007055, allocations: 39.95 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.007272, allocations: 76.78 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.007274, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002789/0.007553, allocations: 125.4 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.007568, allocations: 6.656 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.007573, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.007585, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.007689, allocations: 15.98 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.007694, allocations: 0 / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.007752, allocations: 11.98 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.007759, allocations: 0 / 0.9849 GB, free: 14.35 MB / 0.948 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 7.596e-05/0.007835, allocations: 121.8 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.007864, allocations: 11.89 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.008161, allocations: 125.5 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.008164, allocations: 0 / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008168, allocations: 0 / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008171, allocations: 0 / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.008341, allocations: 144.7 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.008342, allocations: 0 / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.008415, allocations: 15.92 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008418, allocations: 8 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.008427, allocations: 3.984 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008429, allocations: 0 / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.00843, allocations: 0 / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.008738, allocations: 203.4 kB / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.00875, allocations: 7.922 kB / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.008764, allocations: 0 / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.008851, allocations: 19.98 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.008889, allocations: 15.86 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.008893, allocations: 0 / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.008954, allocations: 103.2 kB / 0.9856 GB, free: 13.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.008954, allocations: 0 / 0.9856 GB, free: 13.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002701/0.009224, allocations: 8 kB / 0.9856 GB, free: 13.5 MB / 0.948 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.0005607/0.009785, allocations: 0.7436 MB / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.01005, allocations: 84.19 kB / 0.9864 GB, free: 12.65 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01006, allocations: 3.938 kB / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.01018, allocations: 40.05 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.01044, allocations: 12 kB / 0.9865 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.01093, allocations: 178.5 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.206e-05/0.01099, allocations: 75.27 kB / 0.9867 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.01102, allocations: 0 / 0.9867 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.01106, allocations: 20.48 kB / 0.9867 GB, free: 12.27 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.01107, allocations: 4 kB / 0.9868 GB, free: 12.26 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.02804, allocations: 2.574 MB / 0.9893 GB, free: 9.832 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.121, allocations: 10.28 kB / 0.9893 GB, free: 9.828 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.089058242738247]