Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 103.4 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 199.1 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.133/2.133, allocations: 390.3 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 68.12 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6413/0.6427, allocations: 140.4 MB / 0.9492 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002849/0.6456, allocations: 1.545 MB / 0.9507 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003593/0.646, allocations: 111.6 kB / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.646, allocations: 1.375 kB / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.435e-05/0.6461, allocations: 0 / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.936e-05/0.6462, allocations: 9.219 kB / 0.9509 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.6464, allocations: 18.39 kB / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.591e-05/0.6465, allocations: 45.69 kB / 0.9509 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.6466, allocations: 9.219 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.6467, allocations: 22.16 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.6468, allocations: 25.31 kB / 0.951 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.6468, allocations: 4 kB / 0.951 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.759e-05/0.6469, allocations: 19.92 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.6469, allocations: 20.27 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.6469, allocations: 19.53 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.6471, allocations: 56.05 kB / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.6471, allocations: 0 / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.654e-06/0.6471, allocations: 0 / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.6471, allocations: 1.344 kB / 0.9511 GB, free: 7.629 MB / 0.7169 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.0004716/0.6476, allocations: 380.4 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.6476, allocations: 10.19 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.6477, allocations: 34.75 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.6477, allocations: 8.094 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.225e-05/0.6478, allocations: 188.9 kB / 0.9517 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.6478, allocations: 384 / 0.9517 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.6478, allocations: 2.25 kB / 0.9517 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.6481, allocations: 75.36 kB / 0.9517 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6481, allocations: 5.25 kB / 0.9518 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.6481, allocations: 3.984 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.6481, allocations: 4 kB / 0.9518 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.6484, allocations: 71.98 kB / 0.9518 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.6487, allocations: 285.4 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.6489, allocations: 68.94 kB / 0.9522 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.6491, allocations: 43.28 kB / 0.9522 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.6494, allocations: 110.4 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.6494, allocations: 36.03 kB / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6494, allocations: 0 / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005522/0.65, allocations: 145.9 kB / 0.9525 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.65, allocations: 52.88 kB / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.6501, allocations: 129.4 kB / 0.9527 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.6501, allocations: 29.7 kB / 0.9527 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.6502, allocations: 94.75 kB / 0.9528 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.6502, allocations: 9.062 kB / 0.9528 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.6503, allocations: 13.72 kB / 0.9528 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.6503, allocations: 320 kB / 0.9531 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.6505, allocations: 37.05 kB / 0.9531 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.6506, allocations: 42.08 kB / 0.9532 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.6509, allocations: 79.12 kB / 0.9533 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6509, allocations: 4 kB / 0.9533 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002922/0.6512, allocations: 118.2 kB / 0.9534 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6512, allocations: 5.219 kB / 0.9534 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6512, allocations: 3.984 kB / 0.9534 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.6512, allocations: 0 / 0.9534 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.6514, allocations: 15.58 kB / 0.9534 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6514, allocations: 0 / 0.9534 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.6514, allocations: 14.48 kB / 0.9534 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.6515, allocations: 1.312 kB / 0.9534 GB, free: 5.449 MB / 0.7169 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 5.771e-05/0.6515, allocations: 124.9 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.6516, allocations: 6.594 kB / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.6519, allocations: 117.7 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.6519, allocations: 1.5 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6519, allocations: 0 / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6519, allocations: 1.734 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.6521, allocations: 191.4 kB / 0.9538 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6521, allocations: 0 / 0.9538 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.6522, allocations: 22.56 kB / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.6522, allocations: 0 / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.6522, allocations: 1.188 kB / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6522, allocations: 0 / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6522, allocations: 0 / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.6525, allocations: 213.9 kB / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.6525, allocations: 78.3 kB / 0.9541 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.6526, allocations: 5.125 kB / 0.9541 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.983e-05/0.6527, allocations: 10.58 kB / 0.9542 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.6527, allocations: 1.312 kB / 0.9542 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.6527, allocations: 6.641 kB / 0.9542 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.6528, allocations: 106.7 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6528, allocations: 3.938 kB / 0.9543 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000223/0.653, allocations: 12.91 kB / 0.9543 GB, free: 4.621 MB / 0.7169 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.0004838/0.6535, allocations: 0.7459 MB / 0.955 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.6538, allocations: 85.31 kB / 0.9551 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6538, allocations: 1.5 kB / 0.9551 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.654, allocations: 35.56 kB / 0.9551 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.6542, allocations: 11.59 kB / 0.9551 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.6546, allocations: 194.6 kB / 0.9553 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.704e-05/0.6547, allocations: 0.6914 MB / 0.956 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.6548, allocations: 9.453 kB / 0.956 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.6548, allocations: 20.89 kB / 0.956 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6548, allocations: 1.406 kB / 0.956 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01038/0.6652, allocations: 1.671 MB / 0.9577 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/0.6654, allocations: 202.8 kB / 0.9579 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.227, allocations: 0 / 0.9579 GB, free: 1.84 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches