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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.009572/0.009572, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.002442/0.002442, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.003137/0.003137, allocations: 66.88 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2995, allocations: 162.2 MB / 1.242 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001862/0.3014, allocations: 0.7717 MB / 1.242 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.3024, allocations: 0.8237 MB / 1.243 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.3025, allocations: 4 kB / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.3027, allocations: 59.78 kB / 1.243 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.519e-05/0.3027, allocations: 31.84 kB / 1.243 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.289e-05/0.3028, allocations: 23.97 kB / 1.243 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.3029, allocations: 87.73 kB / 1.243 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3031, allocations: 23.98 kB / 1.243 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.3031, allocations: 39.89 kB / 1.243 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.3033, allocations: 87.72 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.3033, allocations: 11.94 kB / 1.243 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.894e-05/0.3034, allocations: 8 kB / 1.243 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.3034, allocations: 35.91 kB / 1.243 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.99e-05/0.3035, allocations: 39.73 kB / 1.244 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.3037, allocations: 123.7 kB / 1.244 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3037, allocations: 0 / 1.244 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3037, allocations: 0 / 1.244 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.3037, allocations: 0 / 1.244 GB, free: 7.062 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.0007797/0.3045, allocations: 470.8 kB / 1.244 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3045, allocations: 8.031 kB / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.3046, allocations: 34.75 kB / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.3046, allocations: 20.83 kB / 1.244 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3048, allocations: 212.1 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.3048, allocations: 4.375 kB / 1.244 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3049, allocations: 4.375 kB / 1.244 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.3053, allocations: 155.8 kB / 1.244 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3053, allocations: 3.938 kB / 1.244 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3053, allocations: 0 / 1.244 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3053, allocations: 0 / 1.244 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/0.3059, allocations: 175.8 kB / 1.245 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.3067, allocations: 0.5008 MB / 1.245 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.3071, allocations: 161.1 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.3074, allocations: 93.72 kB / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3075, allocations: 8 kB / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3075, allocations: 38.5 kB / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3075, allocations: 0 / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0009352/0.3084, allocations: 285.3 kB / 1.246 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.3085, allocations: 85.09 kB / 1.246 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3087, allocations: 158.2 kB / 1.246 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3087, allocations: 25.7 kB / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.3088, allocations: 100.1 kB / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.3088, allocations: 27.75 kB / 1.246 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.3089, allocations: 25.72 kB / 1.246 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.309, allocations: 322.8 kB / 1.246 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.3093, allocations: 75.92 kB / 1.246 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.3096, allocations: 105.5 kB / 1.247 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.3101, allocations: 173.9 kB / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3101, allocations: 0 / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005896/0.3107, allocations: 213.4 kB / 1.247 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3107, allocations: 4 kB / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3107, allocations: 4 kB / 1.247 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3107, allocations: 0 / 1.247 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.311, allocations: 31.95 kB / 1.247 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.311, allocations: 4 kB / 1.247 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.3111, allocations: 27.95 kB / 1.247 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.3111, allocations: 4 kB / 1.247 GB, free: 3.289 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 0.0001069/0.3112, allocations: 134.2 kB / 1.247 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.3113, allocations: 11.95 kB / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.3114, allocations: 16.25 kB / 1.247 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3114, allocations: 3.938 kB / 1.247 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3114, allocations: 0 / 1.247 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3114, allocations: 4 kB / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.3117, allocations: 229.5 kB / 1.247 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3117, allocations: 3.984 kB / 1.247 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.3119, allocations: 35.97 kB / 1.247 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3119, allocations: 0 / 1.247 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3119, allocations: 0 / 1.247 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3119, allocations: 0 / 1.247 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3119, allocations: 11.98 kB / 1.247 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006617/0.3126, allocations: 378.7 kB / 1.248 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.3127, allocations: 96.95 kB / 1.248 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3127, allocations: 0 / 1.248 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3129, allocations: 27.95 kB / 1.248 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.313, allocations: 15.98 kB / 1.248 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.313, allocations: 0 / 1.248 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001046/0.3131, allocations: 130.5 kB / 1.248 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3131, allocations: 3.938 kB / 1.248 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002732/0.3134, allocations: 16 kB / 1.248 GB, free: 2.098 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.001002/0.3144, allocations: 0.9107 MB / 1.249 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005863/0.315, allocations: 175.8 kB / 1.249 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.315, allocations: 0 / 1.249 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002933/0.3153, allocations: 87.86 kB / 1.249 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3156, allocations: 19.98 kB / 1.249 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.3185, allocations: 1.97 MB / 1.251 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.3189, allocations: 0.7123 MB / 1.252 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.566e-05/0.319, allocations: 31.97 kB / 1.252 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.3191, allocations: 31.42 kB / 1.252 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3191, allocations: 0 / 1.252 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.341, allocations: 2.68 MB / 1.255 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.098, allocations: 27.05 kB / 1.255 GB, free: 11.42 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv --start-time 0 --stop-time 1 --timeout 400 --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