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.009595/0.009595, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.002318/0.002318, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.386/2.386, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 64.64 kB / 0.9505 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.258, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002742/0.2608, allocations: 0.766 MB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2623, allocations: 0.8316 MB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.2624, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.2628, allocations: 59.78 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2629, allocations: 31.84 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001068/0.263, allocations: 23.91 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.2632, allocations: 91.73 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.2635, allocations: 20 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.2636, allocations: 43.83 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.2639, allocations: 79.78 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.264, allocations: 8 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.194e-05/0.264, allocations: 8 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.2641, allocations: 35.91 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.023e-05/0.2642, allocations: 59.66 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.2644, allocations: 111.6 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2644, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.296e-06/0.2644, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.2644, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 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.001081/0.2655, allocations: 462.6 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.2656, allocations: 16.03 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.2656, allocations: 42.67 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.2657, allocations: 16.69 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.2659, allocations: 204.1 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.266, allocations: 4.375 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.266, allocations: 8.375 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.2664, allocations: 143.9 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2664, allocations: 3.938 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2665, allocations: 4 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.2665, allocations: 7.984 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/0.267, allocations: 159.8 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.2679, allocations: 0.5008 MB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.2683, allocations: 169.1 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.2686, allocations: 93.73 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.2686, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2687, allocations: 34.5 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2687, allocations: 4 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0009507/0.2696, allocations: 277.4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.2697, allocations: 89.05 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.2699, allocations: 160 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.2699, allocations: 25.7 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.27, allocations: 112 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.27, allocations: 19.7 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.2701, allocations: 21.72 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2702, allocations: 330.8 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.2705, allocations: 79.92 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.2707, allocations: 89.58 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.2713, allocations: 177.9 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2713, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000579/0.2718, allocations: 209.4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2719, allocations: 4 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2719, allocations: 8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2719, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.2721, allocations: 39.89 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2722, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.2723, allocations: 27.81 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2723, allocations: 11.94 kB / 1.093 GB, free: 12 MB / 0.8575 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 0.000108/0.2724, allocations: 133.8 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.2725, allocations: 7.906 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.2726, allocations: 24.23 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2726, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2726, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2726, allocations: 4 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.2729, allocations: 225.5 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2729, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.2731, allocations: 35.95 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2731, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.2731, allocations: 4 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2731, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2731, allocations: 3.938 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.2738, allocations: 382.4 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.2738, allocations: 85.02 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.2739, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.2741, allocations: 23.97 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.2741, allocations: 11.98 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.2742, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001069/0.2743, allocations: 134.5 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2743, allocations: 4 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002875/0.2746, allocations: 23.94 kB / 1.094 GB, free: 10.82 MB / 0.8575 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.001046/0.2756, allocations: 0.9145 MB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005844/0.2762, allocations: 167.8 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.2762, allocations: 8 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.2765, allocations: 91.86 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2769, allocations: 9.719 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.2798, allocations: 1.974 MB / 1.097 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.2802, allocations: 0.7094 MB / 1.098 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.013e-05/0.2803, allocations: 31.94 kB / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.2803, allocations: 27.44 kB / 1.098 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.2803, allocations: 0 / 1.098 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0401/0.3205, allocations: 2.759 MB / 1.101 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.559, allocations: 12.06 kB / 1.101 GB, free: 4.086 MB / 0.8575 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