Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_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.0121/0.0121, allocations: 102.5 kB / 15.73 MB, free: 6.031 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.001906/0.001907, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.91 kB / 1.054 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2892, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001859/0.2911, allocations: 0.7661 MB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.2921, allocations: 0.8273 MB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.2921, allocations: 4 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.2924, allocations: 51.8 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.2924, allocations: 43.81 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.477e-05/0.2925, allocations: 15.97 kB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.2927, allocations: 95.69 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.2928, allocations: 23.98 kB / 1.209 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.717e-05/0.2929, allocations: 47.81 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.293, allocations: 75.8 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.2931, allocations: 8 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.2931, allocations: 8 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.2932, allocations: 35.91 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.2932, allocations: 43.72 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.2934, allocations: 119.6 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2934, allocations: 4 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.043e-06/0.2934, allocations: 0 / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2934, allocations: 0 / 1.209 GB, free: 7.898 MB / 0.9669 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.0008009/0.2942, allocations: 463.1 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2943, allocations: 8.625 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.2943, allocations: 46.69 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.2944, allocations: 12.83 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.2946, allocations: 204.9 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2946, allocations: 4.375 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.2946, allocations: 4.375 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.2951, allocations: 147.9 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2951, allocations: 7.938 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2951, allocations: 7.938 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2951, allocations: 0 / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.2957, allocations: 163.8 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008426/0.2965, allocations: 0.5047 MB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.2969, allocations: 161.1 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.2972, allocations: 93.73 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.2972, allocations: 4 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.2972, allocations: 38.5 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.2972, allocations: 0 / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0008937/0.2981, allocations: 289.7 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.2982, allocations: 77.11 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2983, allocations: 168.2 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.2983, allocations: 29.7 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.2984, allocations: 108 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.2984, allocations: 27.64 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.2985, allocations: 17.72 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.2986, allocations: 334.8 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.2989, allocations: 83.91 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.2991, allocations: 89.64 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.2996, allocations: 177.5 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2996, allocations: 0 / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005702/0.3002, allocations: 209.3 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.3003, allocations: 5.562 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3003, allocations: 0 / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3003, allocations: 8 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.3005, allocations: 35.89 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3005, allocations: 0 / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.3007, allocations: 27.91 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3007, allocations: 0 / 1.213 GB, free: 4.129 MB / 0.9669 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 9.781e-05/0.3008, allocations: 133.8 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.3009, allocations: 7.906 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.3009, allocations: 28.23 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3009, allocations: 0 / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3009, allocations: 0 / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3009, allocations: 0 / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.3012, allocations: 233.4 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3012, allocations: 0 / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.3014, allocations: 31.95 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3014, allocations: 4 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3014, allocations: 0 / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3015, allocations: 4 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3015, allocations: 3.938 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.3021, allocations: 378.5 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.3022, allocations: 92.91 kB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3022, allocations: 0 / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.3024, allocations: 19.97 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.3024, allocations: 11.98 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.3025, allocations: 4 kB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.896e-05/0.3026, allocations: 128.7 kB / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3026, allocations: 0 / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002802/0.3028, allocations: 16 kB / 1.214 GB, free: 2.957 MB / 0.9669 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.0009193/0.3038, allocations: 0.9223 MB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005965/0.3044, allocations: 175.9 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3044, allocations: 0 / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.3047, allocations: 91.92 kB / 1.215 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.305, allocations: 23.94 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.3079, allocations: 1.973 MB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3081, allocations: 0.7118 MB / 1.218 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.3083, allocations: 31.95 kB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.3083, allocations: 27.44 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3083, allocations: 0 / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.3271, allocations: 2.751 MB / 1.22 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/7.838, allocations: 8 kB / 1.22 GB, free: 12.21 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches