Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008492/0.0008492, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000896/0.000896, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8875/0.8875, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.736/1.736, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.962e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001387/0.001417, allocations: 0.7378 MB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.002196, allocations: 0.851 MB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.002252, allocations: 3.938 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.002426, allocations: 55.73 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.002468, allocations: 43.81 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.718e-05/0.002535, allocations: 19.92 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.936e-05/0.002634, allocations: 95.73 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.002742, allocations: 19.92 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.124e-05/0.002813, allocations: 47.89 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.00293, allocations: 83.83 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.002959, allocations: 8 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.00297, allocations: 8 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.003021, allocations: 35.84 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.003055, allocations: 31.91 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.003181, allocations: 119.6 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003183, allocations: 4 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003184, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003187, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 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.0005187/0.003706, allocations: 393.7 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.003746, allocations: 12.75 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.003777, allocations: 30.75 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.003803, allocations: 16.84 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.003956, allocations: 153.5 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.003966, allocations: 4.375 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.003979, allocations: 8.375 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.004235, allocations: 143.9 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.004242, allocations: 192 / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.004255, allocations: 4.375 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.004262, allocations: 8.125 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.004534, allocations: 171.8 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.005067, allocations: 464 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.005294, allocations: 161 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.005428, allocations: 94.52 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.005441, allocations: 0 / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.00546, allocations: 34.56 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.005461, allocations: 0 / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0004794/0.00594, allocations: 285.3 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.005973, allocations: 81.11 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.006064, allocations: 158.2 kB / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.006076, allocations: 33.7 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.006121, allocations: 104.1 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.006147, allocations: 35.73 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.006191, allocations: 21.72 kB / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.006261, allocations: 318.8 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.006382, allocations: 79.86 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.006507, allocations: 93.64 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.006744, allocations: 177.9 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006746, allocations: 3.938 kB / 1.005 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002791/0.007025, allocations: 213.4 kB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.007038, allocations: 8 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007042, allocations: 0 / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.007053, allocations: 0 / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.007179, allocations: 35.95 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.007183, allocations: 0 / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.007244, allocations: 23.97 kB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.007251, allocations: 8 kB / 1.005 GB, free: 7.746 MB / 0.9636 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 6.542e-05/0.007317, allocations: 129.8 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.007343, allocations: 19.84 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.007373, allocations: 20.33 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.007377, allocations: 4 kB / 1.005 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.007382, allocations: 0 / 1.005 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.007384, allocations: 0 / 1.005 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.007558, allocations: 180.6 kB / 1.005 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.00756, allocations: 3.984 kB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/0.007633, allocations: 35.97 kB / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.007634, allocations: 0 / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.007644, allocations: 8 kB / 1.005 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.007647, allocations: 3.984 kB / 1.005 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.007647, allocations: 0 / 1.005 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.007968, allocations: 382.6 kB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.007979, allocations: 15.89 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.007991, allocations: 0 / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.008084, allocations: 31.95 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.008125, allocations: 3.984 kB / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.008129, allocations: 7.938 kB / 1.006 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.008183, allocations: 132 kB / 1.006 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.008183, allocations: 0 / 1.006 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001839/0.008367, allocations: 20 kB / 1.006 GB, free: 6.691 MB / 0.9636 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.0005047/0.008872, allocations: 0.9068 MB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.009163, allocations: 171.8 kB / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.009164, allocations: 0 / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.009297, allocations: 91.84 kB / 1.007 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.009543, allocations: 10.7 kB / 1.007 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.01107, allocations: 1.985 MB / 1.009 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.28e-05/0.01113, allocations: 92.31 kB / 1.009 GB, free: 3.305 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.253e-05/0.01119, allocations: 31.91 kB / 1.009 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.01124, allocations: 32.48 kB / 1.009 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of SimCode: time 4.6e-07/0.01124, allocations: 0 / 1.009 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.02547, allocations: 3.426 MB / 1.013 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/6.716, allocations: 2.094 kB / 1.013 GB, free: 15.96 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.68227217439562]