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.001326/0.001326, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001575/0.001575, allocations: 220.9 kB / 22.26 MB, free: 5.125 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.984 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.491/3.491, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",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.002284/0.002284, allocations: 64.39 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3943, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00379/0.3981, allocations: 1.526 MB / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003991/0.3985, allocations: 107.7 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.3986, allocations: 4 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.087e-05/0.3986, allocations: 3.938 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.3987, allocations: 7.938 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.399, allocations: 27.95 kB / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3991, allocations: 47.78 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3992, allocations: 8 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.535e-05/0.3993, allocations: 19.92 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.3993, allocations: 19.92 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3994, allocations: 4 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.3995, allocations: 23.98 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.3995, allocations: 11.98 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.3996, allocations: 31.8 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.3997, allocations: 60.02 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3997, allocations: 0 / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3997, allocations: 0 / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.3997, allocations: 0 / 1.355 GB, free: 6.566 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.0006177/0.4004, allocations: 308.1 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4004, allocations: 8.031 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.4004, allocations: 38.69 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.4007, allocations: 24.88 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.4009, allocations: 126.4 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.4009, allocations: 384 / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.4009, allocations: 384 / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.4012, allocations: 78.2 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4012, allocations: 3.938 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4012, allocations: 3.938 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4012, allocations: 4 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.4015, allocations: 83.91 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.402, allocations: 267.9 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.4023, allocations: 70.53 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.4024, allocations: 44.91 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.4025, allocations: 7.938 kB / 1.356 GB, free: 5.395 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4025, allocations: 34.5 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4025, allocations: 4 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.000608/0.4031, allocations: 157.5 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.4032, allocations: 51.41 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.4033, allocations: 125.8 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.4033, allocations: 25.7 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.4034, allocations: 100.1 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.4034, allocations: 11.84 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.4035, allocations: 17.72 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4036, allocations: 314.8 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.4038, allocations: 39.95 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.4039, allocations: 43.89 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.4042, allocations: 92.7 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4042, allocations: 0 / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003441/0.4046, allocations: 113.6 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4046, allocations: 8 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4046, allocations: 0 / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4046, allocations: 4 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.4048, allocations: 11.98 kB / 1.357 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4048, allocations: 3.984 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4049, allocations: 15.92 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.4049, allocations: 0 / 1.357 GB, free: 4.172 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 0.0001025/0.405, allocations: 129.7 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.405, allocations: 4 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.4051, allocations: 15.98 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4051, allocations: 0 / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4051, allocations: 4 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4051, allocations: 0 / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.4053, allocations: 156.6 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4053, allocations: 0 / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.4054, allocations: 19.97 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4054, allocations: 0 / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4054, allocations: 4 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4054, allocations: 4 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4054, allocations: 0 / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.4058, allocations: 207.4 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.4058, allocations: 7.953 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.4059, allocations: 4 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.406, allocations: 19.91 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.406, allocations: 0 / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.406, allocations: 0 / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.34e-05/0.4061, allocations: 101.5 kB / 1.357 GB, free: 3.438 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4061, allocations: 3.938 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002306/0.4063, allocations: 8 kB / 1.358 GB, free: 3.426 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.000807/0.4071, allocations: 0.7439 MB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.4075, allocations: 95.88 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4075, allocations: 0 / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.4077, allocations: 43.95 kB / 1.358 GB, free: 2.52 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.4079, allocations: 8 kB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.4085, allocations: 187 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.4089, allocations: 0.6924 MB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.4089, allocations: 0 / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.409, allocations: 23.42 kB / 1.359 GB, free: 1.547 MB / 1.045 GB Notification: Performance of SimCode: time 7.41e-07/0.409, allocations: 0 / 1.359 GB, free: 1.547 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.442, allocations: 1.978 MB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.73, allocations: 2.781 kB / 1.361 GB, free: 15.7 MB / 1.061 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: 18.823386450996622]