Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.008639/0.008639, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.002278/0.002278, allocations: 197.6 kB / 16.68 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3001, allocations: 162.2 MB / 1.242 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001887/0.302, allocations: 0.7334 MB / 1.242 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002097/0.3023, allocations: 51.83 kB / 1.242 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.3023, allocations: 7.938 kB / 1.242 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.3024, allocations: 15.86 kB / 1.242 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.366e-05/0.3025, allocations: 15.86 kB / 1.242 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.3027, allocations: 23.98 kB / 1.242 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3029, allocations: 127.6 kB / 1.242 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.3031, allocations: 156.5 kB / 1.243 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.3032, allocations: 71.78 kB / 1.243 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.843e-05/0.3033, allocations: 75.64 kB / 1.243 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.3033, allocations: 12 kB / 1.243 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.263e-05/0.3034, allocations: 12 kB / 1.243 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/0.3035, allocations: 51.86 kB / 1.243 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.3036, allocations: 87.41 kB / 1.243 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.3039, allocations: 231 kB / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3039, allocations: 0 / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3039, allocations: 0 / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3039, allocations: 0 / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005939/0.3045, allocations: 0.5086 MB / 1.244 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.3045, allocations: 8.031 kB / 1.244 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.904e-05/0.3046, allocations: 58.73 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.3047, allocations: 24.78 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.305, allocations: 259.9 kB / 1.244 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.305, allocations: 16.75 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.305, allocations: 16.38 kB / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.3056, allocations: 332.9 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3056, allocations: 4 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.3057, allocations: 8 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.3057, allocations: 15.98 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.3061, allocations: 263.8 kB / 1.245 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.3073, allocations: 1.088 MB / 1.246 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.3074, allocations: 169.1 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.3075, allocations: 80.14 kB / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.3075, allocations: 75.28 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.3076, allocations: 110 kB / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3077, allocations: 0 / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.529e-05/0.3078, allocations: 61.5 kB / 1.246 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.3078, allocations: 126.7 kB / 1.246 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006003/0.3084, allocations: 0.4964 MB / 1.247 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.3085, allocations: 25.7 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.3086, allocations: 171.9 kB / 1.247 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.3086, allocations: 0 / 1.247 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.3087, allocations: 29.7 kB / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.3089, allocations: 338.8 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.309, allocations: 51.95 kB / 1.247 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3091, allocations: 101.8 kB / 1.247 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.3093, allocations: 105.9 kB / 1.248 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3093, allocations: 0 / 1.248 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003034/0.3096, allocations: 193.4 kB / 1.248 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3096, allocations: 13.22 kB / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3096, allocations: 4 kB / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3096, allocations: 0 / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3097, allocations: 19.98 kB / 1.248 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3098, allocations: 4 kB / 1.248 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3099, allocations: 35.77 kB / 1.248 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.3099, allocations: 8 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001881/0.3101, allocations: 249.5 kB / 1.248 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.429e-05/0.3102, allocations: 132.7 kB / 1.248 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.6e-05/0.3103, allocations: 138.8 kB / 1.248 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-05/0.3104, allocations: 184.2 kB / 1.248 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.247e-05/0.3105, allocations: 180.2 kB / 1.249 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.701e-05/0.3105, allocations: 180.2 kB / 1.249 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.3109, allocations: 497.1 kB / 1.249 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.665e-05/0.311, allocations: 105 kB / 1.249 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.311, allocations: 104.9 kB / 1.249 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.311e-05/0.3111, allocations: 180.2 kB / 1.25 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-05/0.3112, allocations: 184.2 kB / 1.25 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.805e-05/0.3113, allocations: 184.2 kB / 1.25 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.119e-05/0.3114, allocations: 180.5 kB / 1.25 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.3116, allocations: 327.6 kB / 1.25 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.3118, allocations: 221.9 kB / 1.251 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.3119, allocations: 180.2 kB / 1.251 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.529/0.8409, allocations: 105.7 kB / 1.251 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.8409, allocations: 180.4 kB / 1.251 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.841, allocations: 109.8 kB / 1.251 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004146/0.8414, allocations: 367.5 kB / 1.252 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8414, allocations: 0 / 1.252 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003249/0.8417, allocations: 24.53 kB / 1.252 GB, free: 14.78 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002616/0.842, allocations: 0.8354 MB / 1.252 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.8421, allocations: 66.3 kB / 1.253 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.8421, allocations: 0.5938 kB / 1.253 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-06/0.8422, allocations: 5.531 kB / 1.253 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.8426, allocations: 485.1 kB / 1.253 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.8459, allocations: 3.265 MB / 1.256 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.8461, allocations: 0.7767 MB / 1.257 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.8462, allocations: 50.83 kB / 1.257 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/0.8463, allocations: 63.09 kB / 1.257 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.8463, allocations: 1.531 kB / 1.257 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.8717, allocations: 4.591 MB / 1.262 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.664, allocations: 7.844 kB / 1.262 GB, free: 10.86 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_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_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches