Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001016/0.001016, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008066/0.008066, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.079/2.079, allocations: 390.9 MB / 0.6664 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002701, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4951/0.4953, allocations: 142.4 MB / 0.9552 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.0006641/0.496, allocations: 473.7 kB / 0.9556 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001707/0.4962, allocations: 51.86 kB / 0.9557 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.4963, allocations: 5.281 kB / 0.9557 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.4964, allocations: 14.3 kB / 0.9557 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.4964, allocations: 11.2 kB / 0.9557 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.4966, allocations: 27.95 kB / 0.9557 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.4967, allocations: 118.7 kB / 0.9559 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.4969, allocations: 154.3 kB / 0.956 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.4969, allocations: 36.95 kB / 0.956 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.497, allocations: 42.08 kB / 0.9561 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.497, allocations: 3.469 kB / 0.9561 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.497, allocations: 3.469 kB / 0.9561 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.4971, allocations: 35.89 kB / 0.9561 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.4971, allocations: 89.28 kB / 0.9562 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.4973, allocations: 216.4 kB / 0.9564 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.4973, allocations: 4.938 kB / 0.9564 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4973, allocations: 0 / 0.9564 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4973, allocations: 0 / 0.9564 GB, free: 6.926 MB / 0.7169 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.0003342/0.4976, allocations: 463.7 kB / 0.9569 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.4977, allocations: 9.188 kB / 0.9569 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.4977, allocations: 51.95 kB / 0.9569 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.4978, allocations: 27.72 kB / 0.9569 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.498, allocations: 246.4 kB / 0.9572 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.498, allocations: 15.97 kB / 0.9572 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.498, allocations: 20.61 kB / 0.9572 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.4984, allocations: 345.1 kB / 0.9575 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4984, allocations: 4 kB / 0.9575 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.4984, allocations: 5.906 kB / 0.9576 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.4985, allocations: 19.17 kB / 0.9576 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.4987, allocations: 261.3 kB / 0.9578 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/0.4995, allocations: 1.096 MB / 0.9589 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.433e-05/0.4996, allocations: 165.1 kB / 0.9591 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.4996, allocations: 81.52 kB / 0.9591 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.4996, allocations: 75.28 kB / 0.9592 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.4996, allocations: 107.4 kB / 0.9593 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.4996, allocations: 4 kB / 0.9593 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.949e-05/0.4997, allocations: 56.3 kB / 0.9594 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.4997, allocations: 130.7 kB / 0.9595 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.5001, allocations: 0.493 MB / 0.96 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-06/0.5002, allocations: 25.7 kB / 0.96 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.5002, allocations: 165 kB / 0.9601 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.5002, allocations: 0 / 0.9601 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.5003, allocations: 15.97 kB / 0.9602 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.5003, allocations: 345.2 kB / 0.9605 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.5004, allocations: 49.75 kB / 0.9605 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.5004, allocations: 91.5 kB / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.439e-05/0.5005, allocations: 109.8 kB / 0.9607 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5005, allocations: 0 / 0.9607 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000227/0.5008, allocations: 180 kB / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5008, allocations: 12.94 kB / 0.9609 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5008, allocations: 1.938 kB / 0.9609 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.5008, allocations: 2.938 kB / 0.9609 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.5009, allocations: 22.92 kB / 0.9609 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5009, allocations: 2.438 kB / 0.9609 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/0.501, allocations: 40.64 kB / 0.961 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.501, allocations: 11.41 kB / 0.961 GB, free: 3.227 MB / 0.7169 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 9.62e-05/0.5011, allocations: 245 kB / 0.9612 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.5012, allocations: 142.9 kB / 0.9614 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.5012, allocations: 135.5 kB / 0.9615 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.5013, allocations: 185.3 kB / 0.9617 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/0.5013, allocations: 177.3 kB / 0.9618 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.5013, allocations: 178.8 kB / 0.962 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.5015, allocations: 0.4894 MB / 0.9625 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.5015, allocations: 102.5 kB / 0.9626 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.5015, allocations: 106.1 kB / 0.9627 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/0.5015, allocations: 184.2 kB / 0.9629 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.5015, allocations: 177.5 kB / 0.963 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/0.5016, allocations: 181.3 kB / 0.9632 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-05/0.5016, allocations: 185.6 kB / 0.9634 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.904e-05/0.5017, allocations: 324.7 kB / 0.9637 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.5017, allocations: 224.4 kB / 0.9639 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.5018, allocations: 193.2 kB / 0.9641 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.5019, allocations: 110 kB / 0.9642 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.502, allocations: 189.4 kB / 0.9644 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.502, allocations: 105 kB / 0.9645 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003374/0.5023, allocations: 362 kB / 0.9648 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5024, allocations: 0 / 0.9648 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002416/0.5026, allocations: 24.19 kB / 0.9648 GB, free: 15.41 MB / 0.7325 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.0003389/0.5029, allocations: 0.8376 MB / 0.9657 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.5031, allocations: 63.61 kB / 0.9657 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5031, allocations: 0 / 0.9657 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.5031, allocations: 1.25 kB / 0.9657 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.5036, allocations: 0.5485 MB / 0.9663 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.5064, allocations: 3.301 MB / 0.9695 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.5066, allocations: 0.772 MB / 0.9702 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.16e-05/0.5067, allocations: 46.16 kB / 0.9703 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.186e-05/0.5068, allocations: 64.62 kB / 0.9703 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5068, allocations: 8.969 kB / 0.9704 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.608/2.114, allocations: 4.211 MB / 0.9745 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/2.115, allocations: 217.2 kB / 0.9747 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/3.746, allocations: 3.938 kB / 0.9747 GB, free: 8.812 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches