Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",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.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 193 kB / 16.53 MB, free: 6.391 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.584/2.584, allocations: 469.8 MB / 0.7424 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 70.06 kB / 0.9087 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2677, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001914/0.2697, allocations: 0.7838 MB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008947/0.2706, allocations: 0.8235 MB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.2706, allocations: 3.938 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.2708, allocations: 51.8 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.2709, allocations: 35.83 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.309e-05/0.2709, allocations: 23.92 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.2711, allocations: 83.8 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2712, allocations: 27.98 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.2713, allocations: 39.84 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2714, allocations: 83.78 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.2714, allocations: 8 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.828e-05/0.2715, allocations: 8 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.2715, allocations: 43.89 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.2716, allocations: 39.73 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.2717, allocations: 115.6 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2718, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.326e-06/0.2718, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.2718, allocations: 3.938 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007368/0.2725, allocations: 468.8 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2726, allocations: 12.03 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.2726, allocations: 38.73 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.2726, allocations: 12.75 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.2728, allocations: 204.1 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2729, allocations: 8.375 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2729, allocations: 4.375 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.2733, allocations: 159.7 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2733, allocations: 3.938 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2733, allocations: 0 / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2733, allocations: 4 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.2739, allocations: 163.8 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007795/0.2746, allocations: 0.4969 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.275, allocations: 167 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.2753, allocations: 97.72 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2754, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.2754, allocations: 46.48 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.2754, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0008836/0.2763, allocations: 281.3 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.2763, allocations: 77.11 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.2765, allocations: 173.3 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2765, allocations: 25.7 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.2766, allocations: 100 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.2766, allocations: 27.64 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.2767, allocations: 21.72 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2768, allocations: 330.8 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.2771, allocations: 75.92 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.2773, allocations: 89.64 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.2779, allocations: 177.5 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2779, allocations: 0 / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005512/0.2784, allocations: 205.4 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2784, allocations: 4 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2784, allocations: 4 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2785, allocations: 0 / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.2787, allocations: 43.89 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2787, allocations: 0 / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.2788, allocations: 31.8 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.2788, allocations: 8 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001022/0.2789, allocations: 129.8 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.279, allocations: 11.84 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.2791, allocations: 20.23 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2791, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.2791, allocations: 7.938 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2791, allocations: 0 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.2794, allocations: 225.5 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2794, allocations: 0 / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.2796, allocations: 39.95 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2796, allocations: 4.406 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2796, allocations: 4 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2796, allocations: 4 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2796, allocations: 0 / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.2802, allocations: 382.4 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.2803, allocations: 85.02 kB / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2803, allocations: 8 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.2805, allocations: 23.95 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.2806, allocations: 8 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.2806, allocations: 7.984 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.457e-05/0.2807, allocations: 124.8 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2807, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002599/0.281, allocations: 16 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.000963/0.2819, allocations: 0.9225 MB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005549/0.2825, allocations: 175.8 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2825, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.2828, allocations: 87.86 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.2831, allocations: 23.92 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.2858, allocations: 1.961 MB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.2862, allocations: 0.708 MB / 1.074 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.785e-05/0.2862, allocations: 27.97 kB / 1.074 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.2863, allocations: 35.42 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2863, allocations: 0 / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.3163, allocations: 2.645 MB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.412, allocations: 3.938 kB / 1.077 GB, free: 480 kB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches