Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001353/0.001353, allocations: 97.92 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: 219.8 kB / 23.03 MB, free: 4.945 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.215/3.215, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_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.002054/0.002054, allocations: 70.47 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3561, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00295/0.359, allocations: 1.483 MB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000355/0.3594, allocations: 107.7 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.3594, allocations: 0 / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.182e-05/0.3595, allocations: 7.922 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.853e-05/0.3596, allocations: 15.92 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3598, allocations: 23.91 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3599, allocations: 43.86 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.36, allocations: 15.97 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.3601, allocations: 8 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.3601, allocations: 31.84 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3601, allocations: 4 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-05/0.3602, allocations: 15.98 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.3603, allocations: 15.97 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.3603, allocations: 27.81 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.3605, allocations: 67.95 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3605, allocations: 0 / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3605, allocations: 0 / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3605, allocations: 0 / 1.347 GB, free: 14.08 MB / 1.045 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.0005818/0.3611, allocations: 302 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3611, allocations: 12.03 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.662e-05/0.3611, allocations: 4.188 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.3612, allocations: 30.75 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.3614, allocations: 32.86 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.3616, allocations: 118.4 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-06/0.3616, allocations: 384 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3616, allocations: 8.375 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.3619, allocations: 81.89 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3619, allocations: 0 / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3619, allocations: 0 / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3619, allocations: 4 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.3622, allocations: 79.91 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.3627, allocations: 260 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.3629, allocations: 70.45 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.3631, allocations: 52.91 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3631, allocations: 0 / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3632, allocations: 34.56 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3632, allocations: 0 / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005964/0.3638, allocations: 157.5 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3638, allocations: 51.41 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3639, allocations: 128.7 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3639, allocations: 25.7 kB / 1.348 GB, free: 12.49 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.364, allocations: 92.14 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.364, allocations: 15.78 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3641, allocations: 25.64 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3642, allocations: 322.8 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.3644, allocations: 35.95 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.3645, allocations: 47.95 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.3648, allocations: 84.77 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3648, allocations: 0 / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003562/0.3652, allocations: 117.6 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3652, allocations: 4 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3652, allocations: 4 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3652, allocations: 0 / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3654, allocations: 15.92 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3654, allocations: 4 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.271e-05/0.3655, allocations: 7.984 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3655, allocations: 11.92 kB / 1.349 GB, free: 11.69 MB / 1.045 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.542e-05/0.3656, allocations: 122.4 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3656, allocations: 336 / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.3656, allocations: 12 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3656, allocations: 0 / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3657, allocations: 3.984 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3657, allocations: 0 / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.3659, allocations: 152.6 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3659, allocations: 0 / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.366, allocations: 19.97 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.366, allocations: 4 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.366, allocations: 4 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.366, allocations: 0 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.366, allocations: 0 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.3664, allocations: 207.3 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.3664, allocations: 7.953 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3664, allocations: 4 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3666, allocations: 15.97 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.3666, allocations: 4 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3666, allocations: 4 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.761e-05/0.3667, allocations: 103.2 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3667, allocations: 3.938 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002284/0.3669, allocations: 8 kB / 1.35 GB, free: 10.95 MB / 1.045 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.0007536/0.3677, allocations: 0.7358 MB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003611/0.368, allocations: 91.84 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.368, allocations: 0 / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.3682, allocations: 43.95 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3684, allocations: 10.19 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.369, allocations: 195 kB / 1.351 GB, free: 9.816 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.949e-05/0.3691, allocations: 67.34 kB / 1.351 GB, free: 9.73 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.3691, allocations: 4 kB / 1.351 GB, free: 9.727 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.3692, allocations: 19.42 kB / 1.351 GB, free: 9.707 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.3692, allocations: 0 / 1.351 GB, free: 9.707 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.3921, allocations: 2.076 MB / 1.353 GB, free: 7.785 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.15, allocations: 11 kB / 1.353 GB, free: 7.777 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.009077631984837]