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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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.001451/0.001451, allocations: 108 kB / 15.61 MB, free: 152 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.002076/0.002076, allocations: 192.5 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/0.5997, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002052/0.6018, allocations: 0.7321 MB / 0.9505 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002415/0.6021, allocations: 52.3 kB / 0.9505 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.6021, allocations: 2.375 kB / 0.9505 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.6023, allocations: 22.05 kB / 0.9505 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.6023, allocations: 15.27 kB / 0.9506 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.6025, allocations: 23.94 kB / 0.9506 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.6026, allocations: 113 kB / 0.9507 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.6028, allocations: 161.3 kB / 0.9508 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.6029, allocations: 72.97 kB / 0.9509 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.603, allocations: 69.98 kB / 0.951 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.603, allocations: 11.25 kB / 0.951 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.813e-05/0.6031, allocations: 15.94 kB / 0.951 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.6031, allocations: 50.02 kB / 0.951 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/0.6032, allocations: 95.38 kB / 0.9511 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.6034, allocations: 220.4 kB / 0.9513 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.6034, allocations: 3.938 kB / 0.9514 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6034, allocations: 0 / 0.9514 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.6034, allocations: 1.375 kB / 0.9514 GB, free: 8.094 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.0004316/0.6038, allocations: 0.4935 MB / 0.9518 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.6039, allocations: 9.25 kB / 0.9518 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.6039, allocations: 55.7 kB / 0.9519 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.604, allocations: 27.47 kB / 0.9519 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.6042, allocations: 266.3 kB / 0.9522 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.6042, allocations: 11.94 kB / 0.9522 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.6042, allocations: 16.72 kB / 0.9522 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.6046, allocations: 351.9 kB / 0.9525 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6046, allocations: 4 kB / 0.9525 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.6047, allocations: 11.25 kB / 0.9526 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/0.6047, allocations: 10 kB / 0.9526 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.605, allocations: 274.5 kB / 0.9528 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/0.6058, allocations: 1.084 MB / 0.9539 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/0.6059, allocations: 170.3 kB / 0.954 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.319e-05/0.6059, allocations: 85.42 kB / 0.9541 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.6059, allocations: 75.28 kB / 0.9542 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.606, allocations: 115.3 kB / 0.9543 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.606, allocations: 0 / 0.9543 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.422e-05/0.606, allocations: 55.25 kB / 0.9544 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.6061, allocations: 132.1 kB / 0.9545 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.6065, allocations: 0.4979 MB / 0.955 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-06/0.6065, allocations: 31.02 kB / 0.955 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.6066, allocations: 172.3 kB / 0.9552 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.6066, allocations: 1.25 kB / 0.9552 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.6066, allocations: 29.95 kB / 0.9552 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.6067, allocations: 339.7 kB / 0.9555 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.6067, allocations: 47.78 kB / 0.9556 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.6068, allocations: 97.42 kB / 0.9557 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.6069, allocations: 120.6 kB / 0.9558 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6069, allocations: 0 / 0.9558 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000241/0.6072, allocations: 195.8 kB / 0.956 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.6072, allocations: 9.062 kB / 0.956 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6072, allocations: 2.906 kB / 0.956 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.6072, allocations: 5.531 kB / 0.956 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.6073, allocations: 20.52 kB / 0.956 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6073, allocations: 2.344 kB / 0.956 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.866e-05/0.6074, allocations: 30.28 kB / 0.956 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.6074, allocations: 15.45 kB / 0.956 GB, free: 4.32 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 9.719e-05/0.6075, allocations: 248.6 kB / 0.9563 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.6076, allocations: 131.6 kB / 0.9564 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.6076, allocations: 139 kB / 0.9565 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.6077, allocations: 182 kB / 0.9567 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/0.6077, allocations: 178 kB / 0.9569 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.6077, allocations: 184.2 kB / 0.9571 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.6079, allocations: 493.8 kB / 0.9575 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.6079, allocations: 114.1 kB / 0.9576 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-06/0.6079, allocations: 101 kB / 0.9577 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/0.6079, allocations: 183 kB / 0.9579 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.608, allocations: 181.5 kB / 0.9581 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.905e-05/0.608, allocations: 185.5 kB / 0.9583 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/0.608, allocations: 181.4 kB / 0.9584 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.898e-05/0.6081, allocations: 324.9 kB / 0.9587 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.6081, allocations: 223.5 kB / 0.959 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.6082, allocations: 177.6 kB / 0.9591 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.6083, allocations: 121 kB / 0.9592 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.6083, allocations: 180.3 kB / 0.9594 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.6083, allocations: 102.4 kB / 0.9595 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002706/0.6086, allocations: 362.7 kB / 0.9599 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6086, allocations: 3.938 kB / 0.9599 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002504/0.6089, allocations: 25.16 kB / 0.9599 GB, free: 0.5039 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.0002801/0.6091, allocations: 0.8347 MB / 0.9607 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.6093, allocations: 64.36 kB / 0.9608 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6093, allocations: 1.531 kB / 0.9608 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.6093, allocations: 3.938 kB / 0.9608 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.6098, allocations: 490.4 kB / 0.9612 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.6126, allocations: 3.304 MB / 0.9645 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.6129, allocations: 0.7728 MB / 0.9652 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.15e-05/0.613, allocations: 47 kB / 0.9653 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.6131, allocations: 68.22 kB / 0.9653 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.6131, allocations: 0 / 0.9653 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03929/0.6524, allocations: 4.53 MB / 0.9697 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/7.978, allocations: 11.91 kB / 0.9698 GB, free: 9.961 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > 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