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.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.001572/0.001572, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.00266/0.00266, allocations: 215.7 kB / 23.03 MB, free: 4.918 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.834/2.834, allocations: 476.8 MB / 0.7715 GB, free: 3.902 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 65.02 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3402, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003185/0.3434, allocations: 1.508 MB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003536/0.3438, allocations: 95.75 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.3438, allocations: 0 / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.641e-05/0.3439, allocations: 3.938 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.3439, allocations: 7.922 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.3441, allocations: 31.91 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.3442, allocations: 43.86 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.037e-05/0.3443, allocations: 7.984 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.296e-05/0.3444, allocations: 23.92 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.3444, allocations: 15.92 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3445, allocations: 4 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.3445, allocations: 19.98 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.3446, allocations: 15.97 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.3446, allocations: 15.88 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3448, allocations: 59.27 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3448, allocations: 4 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3448, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3448, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 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.00054/0.3453, allocations: 306 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3453, allocations: 12.03 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.743e-05/0.3454, allocations: 192 / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.3454, allocations: 30.75 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.3454, allocations: 8.938 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3456, allocations: 130 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.3456, allocations: 4.375 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.3456, allocations: 4.375 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.3458, allocations: 77.95 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3459, allocations: 0 / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3459, allocations: 3.938 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3459, allocations: 4 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.3462, allocations: 79.91 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.3466, allocations: 248 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.3468, allocations: 62.53 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.3469, allocations: 40.92 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.3472, allocations: 35.91 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3472, allocations: 38.56 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3472, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005915/0.3478, allocations: 145.5 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.3479, allocations: 55.34 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.348, allocations: 133.8 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.348, allocations: 25.7 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.3481, allocations: 92.12 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.3481, allocations: 7.953 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.3481, allocations: 13.72 kB / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3483, allocations: 326.8 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3485, allocations: 31.97 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.3487, allocations: 47.89 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.349, allocations: 80.78 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.349, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003509/0.3493, allocations: 105.6 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3493, allocations: 10.19 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3493, allocations: 7.984 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3493, allocations: 0 / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3495, allocations: 11.98 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3495, allocations: 0 / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.937e-05/0.3495, allocations: 19.92 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.3496, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 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.734e-05/0.3497, allocations: 121.7 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.3497, allocations: 7.953 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.3501, allocations: 121.6 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3501, allocations: 0 / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3501, allocations: 4.375 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3501, allocations: 0 / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.3503, allocations: 144.7 kB / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3503, allocations: 0 / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.945e-05/0.3504, allocations: 15.98 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3504, allocations: 7.984 kB / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.3504, allocations: 0 / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3504, allocations: 0 / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3504, allocations: 7.984 kB / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.3508, allocations: 207.3 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.3508, allocations: 7.953 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.3509, allocations: 3.984 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.351, allocations: 19.98 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.351, allocations: 3.938 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.351, allocations: 0 / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.043e-05/0.3511, allocations: 107.2 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3511, allocations: 0 / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002515/0.3513, allocations: 12 kB / 1.289 GB, free: 5.59 MB / 0.9825 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.0008032/0.3521, allocations: 0.7435 MB / 1.289 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.3525, allocations: 75.92 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3525, allocations: 0 / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.3527, allocations: 39.95 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.3529, allocations: 12 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.3534, allocations: 202.9 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.904e-05/0.3535, allocations: 71.33 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.814e-05/0.3535, allocations: 0 / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.3536, allocations: 19.44 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3536, allocations: 0 / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.3767, allocations: 2.089 MB / 1.292 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.03, allocations: 8.219 kB / 1.292 GB, free: 2.414 MB / 0.9825 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.860283409943804]