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.001362/0.001362, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001715/0.001715, allocations: 216.3 kB / 23.04 MB, free: 5.078 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.613/1.613, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.943/2.943, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] 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.00201/0.00201, allocations: 63.44 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4019, allocations: 169.9 MB / 1.284 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002913/0.4048, allocations: 1.524 MB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003542/0.4052, allocations: 107.7 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.4052, allocations: 0 / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.142e-05/0.4053, allocations: 7.875 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.4053, allocations: 7.875 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.4056, allocations: 23.97 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.4057, allocations: 43.89 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4058, allocations: 8 kB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.897e-05/0.4059, allocations: 23.86 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.4059, allocations: 19.92 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.4059, allocations: 4 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.406, allocations: 19.98 kB / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.4061, allocations: 11.92 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.4061, allocations: 23.88 kB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.4063, allocations: 63.3 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4063, allocations: 0 / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4063, allocations: 0 / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.4063, allocations: 0 / 1.286 GB, free: 9.797 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.0005874/0.4069, allocations: 306 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4069, allocations: 8.031 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.405e-05/0.4069, allocations: 192 / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.407, allocations: 38.73 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.407, allocations: 0.9375 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.4071, allocations: 126.4 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.4071, allocations: 4.312 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.4071, allocations: 4.312 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.4074, allocations: 85.95 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4074, allocations: 0 / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.4074, allocations: 0 / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4074, allocations: 0 / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.4078, allocations: 71.92 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.4082, allocations: 256 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.4084, allocations: 66.47 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.4086, allocations: 48.89 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.4088, allocations: 35.97 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4088, allocations: 38.56 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4088, allocations: 0 / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005988/0.4094, allocations: 149.5 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.4095, allocations: 55.34 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.4096, allocations: 129.1 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.4096, allocations: 25.7 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.4097, allocations: 96.12 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.4097, allocations: 11.84 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.4098, allocations: 17.7 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4099, allocations: 322.8 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.4101, allocations: 39.95 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.4102, allocations: 31.97 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.4105, allocations: 92.7 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4105, allocations: 0 / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003362/0.4108, allocations: 101.6 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4108, allocations: 10.44 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4108, allocations: 0 / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4109, allocations: 4 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.411, allocations: 23.97 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.411, allocations: 0 / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.4111, allocations: 11.98 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.4111, allocations: 0 / 1.288 GB, free: 7.438 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.319e-05/0.4112, allocations: 117.8 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.4113, allocations: 7.953 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.4117, allocations: 121.6 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4117, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4117, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4117, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.4119, allocations: 152.7 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.4119, allocations: 3.938 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.643e-05/0.412, allocations: 19.98 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.412, allocations: 3.938 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.412, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.412, allocations: 4 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.412, allocations: 0 / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.4124, allocations: 211.7 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.4124, allocations: 3.953 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.4124, allocations: 0 / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4125, allocations: 19.97 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.4126, allocations: 4.047 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4126, allocations: 11.98 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.937e-05/0.4126, allocations: 99.25 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4126, allocations: 0 / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002255/0.4129, allocations: 8 kB / 1.289 GB, free: 6.586 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.0008327/0.4137, allocations: 0.7474 MB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.4141, allocations: 75.92 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4141, allocations: 0 / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.4142, allocations: 47.83 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.4145, allocations: 8 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.415, allocations: 199 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.4154, allocations: 0.6885 MB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.4154, allocations: 4 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.4155, allocations: 11.44 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4155, allocations: 0 / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.4387, allocations: 2.025 MB / 1.293 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.57, allocations: 16.66 kB / 1.293 GB, free: 2.832 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.939026844047476]