Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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.004897/0.004897, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001092/0.001092, allocations: 195.8 kB / 16.67 MB, free: 5.906 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.4/2.4, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 73.08 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2752, allocations: 140.4 MB / 1.088 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.001964/0.2772, allocations: 0.7564 MB / 1.088 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002591/0.2774, allocations: 51.83 kB / 1.088 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.2775, allocations: 4 kB / 1.088 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.2777, allocations: 15.86 kB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.2777, allocations: 11.92 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.2779, allocations: 29.36 kB / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.2781, allocations: 127.5 kB / 1.088 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.2783, allocations: 160.5 kB / 1.089 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.79e-05/0.2784, allocations: 71.78 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.2785, allocations: 71.64 kB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.2786, allocations: 12 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.846e-05/0.2786, allocations: 12.34 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.2787, allocations: 51.86 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.2788, allocations: 87.41 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.279, allocations: 231.1 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.279, allocations: 4 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.279, allocations: 0 / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.279, allocations: 0 / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000551/0.2796, allocations: 0.4948 MB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2796, allocations: 12.03 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.389e-05/0.2797, allocations: 54.73 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.2798, allocations: 28.56 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.2801, allocations: 252.9 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2801, allocations: 12.75 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.2801, allocations: 16.38 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.2806, allocations: 352.7 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2806, allocations: 0 / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.2806, allocations: 11.98 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.2807, allocations: 15.94 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.281, allocations: 263.8 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.2822, allocations: 1.096 MB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.2823, allocations: 165.1 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.2823, allocations: 84.08 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.2823, allocations: 79.22 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.2824, allocations: 114 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2824, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.546e-05/0.2825, allocations: 53.33 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.2825, allocations: 134.7 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.2831, allocations: 0.4926 MB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.2831, allocations: 25.7 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2832, allocations: 171.7 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-06/0.2832, allocations: 7.984 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.2833, allocations: 25.72 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2834, allocations: 342.8 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.2835, allocations: 55.89 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.2836, allocations: 90.83 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.2837, allocations: 126.7 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2837, allocations: 0 / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000294/0.284, allocations: 189.1 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2841, allocations: 11.94 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2841, allocations: 0 / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2841, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.2842, allocations: 23.92 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2842, allocations: 8.25 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2843, allocations: 31.69 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2844, allocations: 12 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001513/0.2845, allocations: 249.1 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.67e-05/0.2846, allocations: 136.5 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.2847, allocations: 130.8 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.152e-05/0.2847, allocations: 180.2 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.642e-05/0.2848, allocations: 184.3 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.71e-05/0.2849, allocations: 185.7 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.2852, allocations: 493 kB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/0.2852, allocations: 101 kB / 1.095 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.2853, allocations: 109 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.095e-05/0.2853, allocations: 188.2 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.2854, allocations: 176.3 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.188e-05/0.2854, allocations: 184.2 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.396e-05/0.2855, allocations: 180.2 kB / 1.096 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.2856, allocations: 331.4 kB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.2858, allocations: 218 kB / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/0.2859, allocations: 184.2 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.286, allocations: 109 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.286, allocations: 188.2 kB / 1.097 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.2861, allocations: 101 kB / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000348/0.2864, allocations: 367 kB / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2864, allocations: 0 / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000273/0.2867, allocations: 24 kB / 1.098 GB, free: 7.047 MB / 0.8575 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 (0): * Single equations (assignments): 0 * 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.0004155/0.2871, allocations: 0.8357 MB / 1.098 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.2873, allocations: 71.89 kB / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2873, allocations: 0 / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.2873, allocations: 0 / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.2878, allocations: 481 kB / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.291, allocations: 3.311 MB / 1.102 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.2913, allocations: 0.7749 MB / 1.103 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.214e-05/0.2914, allocations: 45.53 kB / 1.103 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.586e-05/0.2915, allocations: 67.41 kB / 1.103 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2915, allocations: 0 / 1.103 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.3149, allocations: 4.599 MB / 1.108 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/8.03, allocations: 4.062 kB / 1.108 GB, free: 12.79 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches