Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.00172, allocations: 100.1 kB / 15.88 MB, free: 12 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.002085/0.002085, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.401/2.401, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 71.89 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.791/0.7925, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.001877/0.7944, allocations: 0.8085 MB / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002248/0.7946, allocations: 55.44 kB / 0.9504 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.7947, allocations: 1.375 kB / 0.9504 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.7948, allocations: 18.61 kB / 0.9505 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.504e-05/0.7949, allocations: 15.97 kB / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.7951, allocations: 24.09 kB / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.7952, allocations: 116.1 kB / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.7955, allocations: 157.4 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.7955, allocations: 63.22 kB / 0.9508 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.651e-05/0.7956, allocations: 65.7 kB / 0.9509 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.7957, allocations: 8.25 kB / 0.9509 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.608e-05/0.7957, allocations: 12.19 kB / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.7958, allocations: 54.97 kB / 0.951 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.7958, allocations: 81.3 kB / 0.951 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.796, allocations: 179.3 kB / 0.9512 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.796, allocations: 0 / 0.9512 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.796, allocations: 1.438 kB / 0.9512 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.796, allocations: 0 / 0.9512 GB, free: 8.066 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004912/0.7965, allocations: 495.4 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.7966, allocations: 9.344 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.7966, allocations: 24.06 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.7969, allocations: 266.2 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.7969, allocations: 16.38 kB / 0.952 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.7969, allocations: 19.97 kB / 0.952 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.7974, allocations: 344.6 kB / 0.9523 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7974, allocations: 3.938 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.7974, allocations: 7.031 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.7975, allocations: 14.89 kB / 0.9524 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.7978, allocations: 267.1 kB / 0.9526 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009715/0.7988, allocations: 1.085 MB / 0.9537 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.849e-05/0.7988, allocations: 170.2 kB / 0.9538 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.7988, allocations: 81.3 kB / 0.9539 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.7989, allocations: 83.28 kB / 0.954 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.7989, allocations: 107.7 kB / 0.9541 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.7989, allocations: 0 / 0.9541 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.863e-05/0.799, allocations: 51.48 kB / 0.9541 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.799, allocations: 131.8 kB / 0.9543 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.7995, allocations: 0.4983 MB / 0.9548 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-06/0.7995, allocations: 25.7 kB / 0.9548 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.7996, allocations: 172.9 kB / 0.9549 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/0.7997, allocations: 1.094 kB / 0.9549 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.7997, allocations: 30.33 kB / 0.955 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.7998, allocations: 340.2 kB / 0.9553 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.7999, allocations: 50.7 kB / 0.9553 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.994e-05/0.8, allocations: 102.2 kB / 0.9554 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.8001, allocations: 121.2 kB / 0.9556 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8001, allocations: 4 kB / 0.9556 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002834/0.8004, allocations: 190.8 kB / 0.9557 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.8004, allocations: 10.84 kB / 0.9558 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8004, allocations: 2.062 kB / 0.9558 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.8005, allocations: 10.41 kB / 0.9558 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.8006, allocations: 24.17 kB / 0.9558 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.8006, allocations: 2.281 kB / 0.9558 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.47e-05/0.8007, allocations: 38.83 kB / 0.9558 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.8007, allocations: 6.906 kB / 0.9558 GB, free: 4.359 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001256/0.8008, allocations: 252.9 kB / 0.9561 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.8009, allocations: 127.3 kB / 0.9562 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.8009, allocations: 140.4 kB / 0.9563 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.801, allocations: 184.3 kB / 0.9565 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/0.801, allocations: 177.8 kB / 0.9567 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.801, allocations: 183 kB / 0.9569 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.8013, allocations: 488.8 kB / 0.9573 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/0.8013, allocations: 106.4 kB / 0.9574 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.8013, allocations: 110.1 kB / 0.9575 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-05/0.8014, allocations: 185.4 kB / 0.9577 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.8014, allocations: 185.4 kB / 0.9579 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.508e-05/0.8014, allocations: 176.3 kB / 0.958 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-05/0.8015, allocations: 181.6 kB / 0.9582 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.056e-05/0.8015, allocations: 328.8 kB / 0.9585 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.8016, allocations: 216.7 kB / 0.9587 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.8017, allocations: 189.6 kB / 0.9589 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.8018, allocations: 108.5 kB / 0.959 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.8018, allocations: 177.4 kB / 0.9592 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.8018, allocations: 110.2 kB / 0.9593 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003385/0.8022, allocations: 366.3 kB / 0.9596 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.002e-06/0.8022, allocations: 0 / 0.9596 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002681/0.8025, allocations: 31.88 kB / 0.9597 GB, free: 0.5391 MB / 0.7169 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.0001388/0.8026, allocations: 174.4 kB / 0.9598 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.8028, allocations: 65.36 kB / 0.9599 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8028, allocations: 4.062 kB / 0.9599 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-06/0.8028, allocations: 1.469 kB / 0.9599 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.8033, allocations: 0.5438 MB / 0.9604 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007005/0.8041, allocations: 0.5425 MB / 0.961 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.8045, allocations: 0.7731 MB / 0.9617 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.8046, allocations: 17.06 kB / 0.9617 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.8046, allocations: 5.312 kB / 0.9617 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.00476/0.8093, allocations: 2.622 MB / 0.9643 GB, free: 13.36 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches