Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001336/0.001336, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 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.001347/0.001347, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.574/1.574, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.208/3.208, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 67.91 kB / 1.15 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 176.1 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001829/1.068, allocations: 0.7606 MB / 1.322 GB, free: 24.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008468/1.069, allocations: 0.8668 MB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/1.069, allocations: 3.938 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002041/1.069, allocations: 54.64 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/1.069, allocations: 38.09 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.236e-05/1.069, allocations: 28.38 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/1.069, allocations: 84.72 kB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/1.069, allocations: 19.83 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/1.069, allocations: 47.25 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/1.069, allocations: 88.97 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/1.069, allocations: 8.094 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/1.069, allocations: 5.719 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/1.069, allocations: 43.44 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/1.07, allocations: 42.17 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/1.07, allocations: 114.8 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.07, allocations: 2.688 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/1.07, allocations: 0 / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.55e-06/1.07, allocations: 0 / 1.324 GB, free: 23.39 MB / 1.061 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.0007373/1.07, allocations: 472 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/1.07, allocations: 12.23 kB / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/1.07, allocations: 2.938 kB / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/1.07, allocations: 40.78 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/1.071, allocations: 15.91 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/1.071, allocations: 211.1 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/1.071, allocations: 7.25 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/1.071, allocations: 3.219 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/1.071, allocations: 157.5 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.071, allocations: 0 / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/1.071, allocations: 2.562 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.071, allocations: 7.375 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/1.072, allocations: 169.8 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000697/1.072, allocations: 0.5015 MB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/1.073, allocations: 157.5 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/1.073, allocations: 97.05 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/1.073, allocations: 2.438 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/1.073, allocations: 30.56 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/1.073, allocations: 3.984 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0008766/1.074, allocations: 284.2 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/1.074, allocations: 80.17 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/1.074, allocations: 165.5 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/1.074, allocations: 25.7 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/1.074, allocations: 117.5 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/1.074, allocations: 22.56 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/1.074, allocations: 30.11 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/1.074, allocations: 325 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/1.074, allocations: 76.58 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/1.075, allocations: 90.75 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/1.075, allocations: 175.4 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.075, allocations: 4 kB / 1.327 GB, free: 21.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005942/1.076, allocations: 200.9 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.076, allocations: 7.469 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.076, allocations: 0.6562 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.076, allocations: 0.7812 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/1.076, allocations: 40.02 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.076, allocations: 5.359 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/1.076, allocations: 31.97 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/1.076, allocations: 1.719 kB / 1.327 GB, free: 21.05 MB / 1.061 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 8.082e-05/1.076, allocations: 135.9 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/1.076, allocations: 9.109 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/1.076, allocations: 20.44 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.076, allocations: 5.625 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.076, allocations: 1.25 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.076, allocations: 4.047 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/1.077, allocations: 225.5 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.077, allocations: 0.625 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/1.077, allocations: 33.42 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/1.077, allocations: 1.188 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/1.077, allocations: 1.125 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.077, allocations: 0.75 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/1.077, allocations: 12.19 kB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/1.078, allocations: 380.4 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/1.078, allocations: 91.3 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/1.078, allocations: 0.9688 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/1.078, allocations: 27.61 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/1.078, allocations: 11.33 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.557e-06/1.078, allocations: 1.969 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.16e-05/1.078, allocations: 124.5 kB / 1.328 GB, free: 20.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.078, allocations: 0 / 1.328 GB, free: 20.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002942/1.078, allocations: 31.8 kB / 1.328 GB, free: 20.21 MB / 1.061 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.000873/1.079, allocations: 0.9109 MB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006249/1.08, allocations: 165.7 kB / 1.329 GB, free: 19.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.08, allocations: 0.8438 kB / 1.329 GB, free: 19.4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/1.08, allocations: 94.17 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/1.08, allocations: 13.75 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/1.083, allocations: 1.966 MB / 1.331 GB, free: 17.92 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/1.083, allocations: 0.715 MB / 1.332 GB, free: 17.21 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.983e-05/1.084, allocations: 27.59 kB / 1.332 GB, free: 17.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/1.084, allocations: 30.38 kB / 1.332 GB, free: 17.19 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/1.084, allocations: 0 / 1.332 GB, free: 17.19 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/1.106, allocations: 2.751 MB / 1.335 GB, free: 16.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/9.617, allocations: 8.125 kB / 1.335 GB, free: 16.71 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.712026659050025]