Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007911/0.0007911, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000806/0.000806, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8756/0.8756, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.731/1.731, allocations: 377.8 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.981 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.011e-05, allocations: 2.281 kB / 0.981 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00197/0.001991, allocations: 1.498 MB / 0.9824 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.002272, allocations: 111.6 kB / 0.9825 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.002307, allocations: 4 kB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.002352, allocations: 7.922 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.025e-05/0.002412, allocations: 7.875 kB / 0.9826 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.002638, allocations: 23.97 kB / 0.9826 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.639e-05/0.002724, allocations: 39.86 kB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.002822, allocations: 15.97 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.942e-05/0.002882, allocations: 23.92 kB / 0.9827 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.002924, allocations: 11.98 kB / 0.9827 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.002943, allocations: 8 kB / 0.9827 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.304e-05/0.003006, allocations: 23.97 kB / 0.9827 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.003051, allocations: 11.94 kB / 0.9827 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.003073, allocations: 11.98 kB / 0.9827 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003196, allocations: 67.78 kB / 0.9828 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003198, allocations: 0 / 0.9828 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.453e-06/0.0032, allocations: 3.938 kB / 0.9828 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.003204, allocations: 0 / 0.9828 GB, free: 0.7617 MB / 0.9323 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.0004066/0.00361, allocations: 306 kB / 0.9831 GB, free: 440 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.003653, allocations: 16.02 kB / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.00369, allocations: 38.73 kB / 0.9831 GB, free: 376 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.003715, allocations: 4.891 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.038e-05/0.003806, allocations: 113.7 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.003818, allocations: 8.375 kB / 0.9832 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.003826, allocations: 384 / 0.9832 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.004008, allocations: 82.2 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.004015, allocations: 192 / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.004024, allocations: 384 / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.004031, allocations: 8.125 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.004181, allocations: 75.86 kB / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.004575, allocations: 248 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.004756, allocations: 66.47 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.004841, allocations: 48.91 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.005048, allocations: 39.91 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.005072, allocations: 30.56 kB / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.005073, allocations: 0 / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003512/0.005425, allocations: 145.5 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.005464, allocations: 59.41 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.005565, allocations: 125.8 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.005578, allocations: 25.7 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.005625, allocations: 96.03 kB / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.005646, allocations: 15.89 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.005676, allocations: 13.7 kB / 0.9843 GB, free: 15.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.005759, allocations: 318.8 kB / 0.9846 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.005834, allocations: 39.95 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.005901, allocations: 35.97 kB / 0.9847 GB, free: 14.65 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.006041, allocations: 80.72 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006043, allocations: 0 / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001681/0.006211, allocations: 117.5 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.006223, allocations: 8 kB / 0.9849 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.006228, allocations: 0 / 0.9849 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.006241, allocations: 0 / 0.9849 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.006323, allocations: 19.97 kB / 0.9849 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.006327, allocations: 0 / 0.9849 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.006366, allocations: 11.98 kB / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.006372, allocations: 4 kB / 0.9849 GB, free: 14.41 MB / 0.948 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.577e-05/0.006428, allocations: 113.8 kB / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.006442, allocations: 7.891 kB / 0.985 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.006645, allocations: 129.8 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.006647, allocations: 0 / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.006651, allocations: 0 / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.006653, allocations: 4 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.006779, allocations: 144.7 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.00678, allocations: 0 / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.006819, allocations: 15.92 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006821, allocations: 0 / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.006829, allocations: 8 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.00683, allocations: 3.938 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006831, allocations: 0 / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.007021, allocations: 207.4 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-06/0.007031, allocations: 11.94 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.007042, allocations: 0 / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.895e-05/0.007091, allocations: 15.98 kB / 0.9855 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.00713, allocations: 3.984 kB / 0.9855 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.007133, allocations: 4 kB / 0.9855 GB, free: 13.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.007173, allocations: 101 kB / 0.9856 GB, free: 13.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007173, allocations: 0 / 0.9856 GB, free: 13.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001727/0.007346, allocations: 8 kB / 0.9856 GB, free: 13.57 MB / 0.948 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.0004349/0.007781, allocations: 0.7475 MB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.007968, allocations: 75.86 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.00797, allocations: 0 / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.008044, allocations: 43.95 kB / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.008233, allocations: 11.94 kB / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.008676, allocations: 178.5 kB / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.008729, allocations: 79.27 kB / 0.9867 GB, free: 12.35 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.038e-05/0.008749, allocations: 0 / 0.9867 GB, free: 12.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.008786, allocations: 20.5 kB / 0.9868 GB, free: 12.33 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/0.008787, allocations: 0 / 0.9868 GB, free: 12.33 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.02306, allocations: 2.593 MB / 0.9893 GB, free: 9.883 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.046, allocations: 9.094 kB / 0.9893 GB, free: 9.875 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.005886147730052]