Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.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.001341/0.001341, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001442/0.001442, allocations: 220.2 kB / 23.03 MB, free: 4.941 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.945/2.945, allocations: 476.8 MB / 0.7715 GB, free: 3.883 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.QuadraticLinear,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear",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.002165/0.002165, allocations: 65.91 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3555, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003254/0.3588, allocations: 1.506 MB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003745/0.3592, allocations: 115.6 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.3592, allocations: 0 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.383e-05/0.3592, allocations: 0 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.608e-05/0.3593, allocations: 19.8 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.3595, allocations: 15.98 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3596, allocations: 47.83 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.3597, allocations: 8 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.3598, allocations: 19.92 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.3598, allocations: 23.92 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.3598, allocations: 4 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.798e-05/0.3599, allocations: 23.97 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.36, allocations: 11.94 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.36, allocations: 15.92 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.3602, allocations: 63.31 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3602, allocations: 0 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3602, allocations: 0 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3602, allocations: 0 / 1.286 GB, free: 8.777 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.0005771/0.3608, allocations: 310 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3608, allocations: 8.031 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.738e-05/0.3608, allocations: 4.188 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.3608, allocations: 30.75 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.3609, allocations: 4.938 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.361, allocations: 122.3 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.3611, allocations: 4.359 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3611, allocations: 8.375 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.3614, allocations: 73.97 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3614, allocations: 4 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3614, allocations: 3.938 kB / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3614, allocations: 0 / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.3617, allocations: 71.92 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.3621, allocations: 247.9 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.3623, allocations: 66.53 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3625, allocations: 44.91 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.3627, allocations: 35.97 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3628, allocations: 30.56 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.3628, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005574/0.3633, allocations: 153.5 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3634, allocations: 51.41 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3635, allocations: 131.6 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3635, allocations: 25.7 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.3636, allocations: 96.11 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.3636, allocations: 11.89 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.3637, allocations: 13.72 kB / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3638, allocations: 326.8 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.364, allocations: 35.97 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.3641, allocations: 39.89 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.3644, allocations: 76.78 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3644, allocations: 8 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003335/0.3647, allocations: 113.5 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3648, allocations: 10.17 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3648, allocations: 0 / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3648, allocations: 336 / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3649, allocations: 15.98 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3649, allocations: 0 / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.365, allocations: 15.98 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.365, allocations: 0 / 1.288 GB, free: 6.434 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.757e-05/0.3651, allocations: 121.8 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.3651, allocations: 7.953 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.3655, allocations: 121.5 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3655, allocations: 0 / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3655, allocations: 4 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3655, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3657, allocations: 148.7 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3657, allocations: 3.938 kB / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.654e-05/0.3658, allocations: 15.98 kB / 1.288 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3658, allocations: 0 / 1.288 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3658, allocations: 4 kB / 1.288 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3658, allocations: 3.984 kB / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3658, allocations: 0 / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.3662, allocations: 211.4 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.3662, allocations: 7.938 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3663, allocations: 7.938 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3664, allocations: 7.984 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.3664, allocations: 4 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3664, allocations: 0 / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.543e-05/0.3665, allocations: 107.2 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3665, allocations: 4 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002442/0.3667, allocations: 12 kB / 1.289 GB, free: 5.578 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.0007705/0.3675, allocations: 0.7319 MB / 1.289 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.3679, allocations: 83.86 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3679, allocations: 0 / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.368, allocations: 39.95 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.3683, allocations: 11.88 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.3689, allocations: 195 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.602e-05/0.369, allocations: 71.33 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.369, allocations: 4 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.3691, allocations: 23.42 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3691, allocations: 0 / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.3936, allocations: 2.086 MB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.63, allocations: 8 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.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.773754919995554]