Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001181/0.001181, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001167/0.001167, allocations: 192.5 kB / 16.25 MB, free: 6.598 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.186/1.186, allocations: 222.9 MB / 239.9 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.279/2.279, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 71.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5726/0.574, allocations: 140.4 MB / 0.9493 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001768/0.5758, allocations: 0.8289 MB / 0.9501 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006922/0.5765, allocations: 0.824 MB / 0.9509 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.5766, allocations: 1.719 kB / 0.9509 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.5768, allocations: 62.72 kB / 0.9509 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.5768, allocations: 24.84 kB / 0.951 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.987e-05/0.5769, allocations: 22.66 kB / 0.951 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.929e-05/0.577, allocations: 86.14 kB / 0.9511 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.5771, allocations: 26.97 kB / 0.9511 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.5772, allocations: 41.72 kB / 0.9511 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.5773, allocations: 86.27 kB / 0.9512 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.5773, allocations: 6.875 kB / 0.9512 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.5774, allocations: 8.25 kB / 0.9512 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.5774, allocations: 36.28 kB / 0.9513 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.5775, allocations: 43.98 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.5776, allocations: 113.9 kB / 0.9514 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5776, allocations: 4 kB / 0.9514 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5776, allocations: 4 kB / 0.9514 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.5776, allocations: 1.375 kB / 0.9514 GB, free: 7.582 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006202/0.5782, allocations: 466.9 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.5783, allocations: 10.03 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.5783, allocations: 37.31 kB / 0.9519 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.5783, allocations: 13.5 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.5785, allocations: 201.6 kB / 0.9521 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.5785, allocations: 3.094 kB / 0.9521 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.5785, allocations: 3.281 kB / 0.9521 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.5789, allocations: 148.3 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.5789, allocations: 9.219 kB / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5789, allocations: 4 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5789, allocations: 1.438 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.5794, allocations: 168.5 kB / 0.9524 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.58, allocations: 0.5072 MB / 0.9529 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.5804, allocations: 170.3 kB / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.5806, allocations: 93.98 kB / 0.9532 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.5806, allocations: 1.281 kB / 0.9532 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.5806, allocations: 35.91 kB / 0.9532 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.5806, allocations: 0 / 0.9532 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0007622/0.5814, allocations: 294.1 kB / 0.9535 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.5814, allocations: 82.41 kB / 0.9536 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.5815, allocations: 163.4 kB / 0.9537 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.5816, allocations: 26.58 kB / 0.9538 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.5816, allocations: 101.2 kB / 0.9539 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.5816, allocations: 26.84 kB / 0.9539 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.5817, allocations: 27.86 kB / 0.9539 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.422e-05/0.5817, allocations: 327 kB / 0.9542 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.582, allocations: 79.36 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.5822, allocations: 92.53 kB / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.5826, allocations: 176.3 kB / 0.9546 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5826, allocations: 0 / 0.9546 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000477/0.5831, allocations: 199 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5831, allocations: 4.875 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5831, allocations: 4 kB / 0.9548 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5832, allocations: 1.188 kB / 0.9548 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.5834, allocations: 39.61 kB / 0.9548 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5834, allocations: 0 / 0.9548 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.5835, allocations: 25.95 kB / 0.9548 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.5835, allocations: 2.344 kB / 0.9548 GB, free: 4.824 MB / 0.7169 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 7.121e-05/0.5836, allocations: 132 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.5836, allocations: 17.03 kB / 0.955 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.5837, allocations: 17.38 kB / 0.955 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5837, allocations: 1.062 kB / 0.955 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5837, allocations: 1.156 kB / 0.955 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5837, allocations: 0 / 0.955 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.5839, allocations: 235.5 kB / 0.9552 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5839, allocations: 0 / 0.9552 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.5841, allocations: 31.62 kB / 0.9552 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5841, allocations: 4 kB / 0.9552 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.5841, allocations: 9.797 kB / 0.9552 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5841, allocations: 9.188 kB / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5841, allocations: 0 / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.5846, allocations: 378.9 kB / 0.9556 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.5847, allocations: 91.73 kB / 0.9557 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.5847, allocations: 1.25 kB / 0.9557 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.5849, allocations: 26.17 kB / 0.9557 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.585, allocations: 10.89 kB / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.585, allocations: 2.906 kB / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.052e-05/0.585, allocations: 122 kB / 0.9559 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.585, allocations: 0 / 0.9559 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000262/0.5853, allocations: 20.47 kB / 0.9559 GB, free: 3.891 MB / 0.7169 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.0006577/0.586, allocations: 0.9223 MB / 0.9568 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004964/0.5865, allocations: 172.1 kB / 0.9569 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5865, allocations: 0 / 0.9569 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.5867, allocations: 101.1 kB / 0.957 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.5871, allocations: 14.59 kB / 0.9571 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.5892, allocations: 1.982 MB / 0.959 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.5893, allocations: 0.7206 MB / 0.9597 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.229e-05/0.5894, allocations: 26.31 kB / 0.9597 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.5895, allocations: 31.55 kB / 0.9597 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5895, allocations: 0 / 0.9597 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.336/0.9254, allocations: 2.407 MB / 0.9621 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.9256, allocations: 210.8 kB / 0.9623 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.737, allocations: 2.875 kB / 0.9623 GB, free: 15.11 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches