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.004627/0.004627, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001265/0.001265, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.856/2.856, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00311/0.00311, allocations: 67.89 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3119, allocations: 159.1 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00187/0.3138, allocations: 0.7781 MB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009555/0.3148, allocations: 0.8214 MB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.3149, allocations: 7.938 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.3151, allocations: 51.88 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.059e-05/0.3151, allocations: 39.75 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.363e-05/0.3152, allocations: 15.98 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.3153, allocations: 87.75 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3155, allocations: 27.97 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.3156, allocations: 43.83 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.3157, allocations: 83.78 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.3158, allocations: 8 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.046e-05/0.3158, allocations: 8 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.3159, allocations: 35.91 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.3159, allocations: 39.73 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.3161, allocations: 123.4 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3161, allocations: 4 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3161, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.3161, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 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.0007817/0.3169, allocations: 470.7 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.317, allocations: 12.03 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.317, allocations: 30.75 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.317, allocations: 16.89 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3173, allocations: 213.9 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.3173, allocations: 384 / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.3173, allocations: 4.375 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.3177, allocations: 151.8 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.3177, allocations: 3.938 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3178, allocations: 8 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3178, allocations: 3.984 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005756/0.3184, allocations: 167.8 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.3192, allocations: 0.5008 MB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.3196, allocations: 165.1 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.3199, allocations: 93.73 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.32, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.32, allocations: 38.56 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.32, allocations: 0 / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0009422/0.321, allocations: 289.3 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.321, allocations: 77.11 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3212, allocations: 163.9 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3212, allocations: 33.64 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.3213, allocations: 104.1 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.3213, allocations: 27.8 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.3214, allocations: 25.7 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3216, allocations: 330.8 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.3218, allocations: 75.92 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.3221, allocations: 93.64 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.3227, allocations: 177.5 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3227, allocations: 3.938 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000609/0.3233, allocations: 205.4 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3233, allocations: 11.98 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3233, allocations: 0 / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.3234, allocations: 0 / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.3236, allocations: 39.97 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3236, allocations: 0 / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3237, allocations: 32.36 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.3238, allocations: 0 / 1.226 GB, free: 8.266 MB / 0.9825 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.0001187/0.3239, allocations: 133.8 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.3239, allocations: 7.953 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.324, allocations: 20.25 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.324, allocations: 7.984 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.324, allocations: 3.984 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.324, allocations: 0 / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.3243, allocations: 225.5 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3243, allocations: 0 / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.3245, allocations: 43.89 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3245, allocations: 0 / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3246, allocations: 4 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3246, allocations: 0 / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3246, allocations: 4 kB / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006755/0.3253, allocations: 378.6 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.3253, allocations: 89.02 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.3254, allocations: 7.984 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.3256, allocations: 19.97 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.3256, allocations: 15.92 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3257, allocations: 4 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.783e-05/0.3258, allocations: 123 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3258, allocations: 0 / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002903/0.3261, allocations: 19.94 kB / 1.227 GB, free: 7.086 MB / 0.9825 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.00112/0.3272, allocations: 0.9115 MB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000621/0.3278, allocations: 183.8 kB / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3278, allocations: 0 / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.3281, allocations: 99.84 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3285, allocations: 9.875 kB / 1.228 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.3315, allocations: 1.984 MB / 1.23 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.3318, allocations: 0.7119 MB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.184e-05/0.3319, allocations: 23.97 kB / 1.231 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.332, allocations: 31.42 kB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.332, allocations: 4 kB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.3545, allocations: 2.689 MB / 1.233 GB, free: 412 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.17, allocations: 12.38 kB / 1.233 GB, free: 404 kB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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