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.001113/0.001117, 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.001203/0.001203, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 469.4 MB / 0.742 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 68.42 kB / 0.9083 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.256, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002161/0.2582, allocations: 0.7723 MB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000957/0.2591, allocations: 0.8274 MB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.2592, allocations: 0 / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.2594, allocations: 59.73 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.2595, allocations: 31.83 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.856e-05/0.2596, allocations: 19.97 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.2597, allocations: 91.75 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.2598, allocations: 23.98 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.2599, allocations: 39.84 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.2601, allocations: 83.77 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.2601, allocations: 8 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.067e-05/0.2601, allocations: 8 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.2602, allocations: 35.91 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.2603, allocations: 47.67 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.2604, allocations: 127.6 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.2604, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2604, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2604, allocations: 0 / 1.066 GB, free: 12.3 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.0008099/0.2613, allocations: 460.9 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2613, allocations: 8.031 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.2614, allocations: 46.69 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.2614, allocations: 12.75 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.2616, allocations: 205.8 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2616, allocations: 384 / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.2616, allocations: 8.375 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.2621, allocations: 147.8 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2621, allocations: 7.938 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.2621, allocations: 8 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.2621, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.2627, allocations: 167.8 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008253/0.2635, allocations: 0.5008 MB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.264, allocations: 165.1 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.2643, allocations: 99.44 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.2643, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.2644, allocations: 42.5 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.2644, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.001009/0.2654, allocations: 273.4 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.2654, allocations: 89.03 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.2656, allocations: 164.4 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.2656, allocations: 25.7 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.2657, allocations: 112 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.2657, allocations: 19.66 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.2658, allocations: 21.72 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2659, allocations: 326.8 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.2662, allocations: 79.92 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.2665, allocations: 93.62 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.267, allocations: 169.6 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.267, allocations: 0 / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005693/0.2676, allocations: 209.8 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2676, allocations: 8 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2676, allocations: 0 / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2676, allocations: 0 / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.2679, allocations: 39.89 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2679, allocations: 0 / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.268, allocations: 35.8 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.268, allocations: 11.88 kB / 1.069 GB, free: 8.535 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 9.593e-05/0.2681, allocations: 133.8 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.2682, allocations: 7.906 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.2683, allocations: 20.25 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2683, allocations: 4 kB / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2683, allocations: 4 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2683, allocations: 0 / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.2686, allocations: 225.5 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2686, allocations: 7.984 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.2688, allocations: 27.97 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.2688, allocations: 8 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.2688, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2688, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2688, allocations: 7.922 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.2694, allocations: 382.4 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.2695, allocations: 85.02 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.2695, allocations: 0 / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.2697, allocations: 23.95 kB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.2698, allocations: 11.98 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2698, allocations: 4 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.866e-05/0.2699, allocations: 124.1 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2699, allocations: 4 kB / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002966/0.2702, allocations: 20 kB / 1.07 GB, free: 7.359 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.0009077/0.2711, allocations: 0.915 MB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.2717, allocations: 171.8 kB / 1.071 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2717, allocations: 4 kB / 1.071 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.272, allocations: 91.86 kB / 1.071 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.2724, allocations: 19.92 kB / 1.071 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.275, allocations: 1.959 MB / 1.073 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.2753, allocations: 0.7196 MB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.181e-05/0.2754, allocations: 28.39 kB / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.2755, allocations: 31.42 kB / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2755, allocations: 3.938 kB / 1.074 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.2931, allocations: 2.661 MB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.349/7.642, allocations: 9.453 kB / 1.077 GB, free: 0.6992 MB / 0.8262 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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