Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001217/0.001217, allocations: 112.5 kB / 15.74 MB, free: 68 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.001115/0.001115, allocations: 198 kB / 16.67 MB, free: 6.582 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.283/1.283, 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 10.1.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437.1 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.91 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.258, allocations: 151.6 MB / 1.166 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001722/0.2597, allocations: 0.7684 MB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008409/0.2606, allocations: 0.8315 MB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.2606, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.2608, allocations: 59.8 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.381e-05/0.2609, allocations: 35.83 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.344e-05/0.2609, allocations: 23.97 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.2611, allocations: 83.75 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2612, allocations: 31.91 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.2613, allocations: 35.91 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.2614, allocations: 83.8 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.2614, allocations: 11.98 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.2615, allocations: 8 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.2615, allocations: 43.83 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.2616, allocations: 39.73 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.2617, allocations: 111.8 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.2617, allocations: 7.984 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.011e-06/0.2617, allocations: 3.938 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.2618, allocations: 0 / 1.168 GB, free: 5.031 MB / 0.92 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.0007014/0.2625, allocations: 458.9 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2625, allocations: 19.95 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.2625, allocations: 34.75 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.2626, allocations: 20.78 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.2628, allocations: 200.2 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.2628, allocations: 4.375 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.2628, allocations: 4.375 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.2632, allocations: 151.9 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2632, allocations: 3.938 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2632, allocations: 3.938 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2632, allocations: 4 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.2637, allocations: 175.8 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007407/0.2645, allocations: 0.5047 MB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.2649, allocations: 161.1 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.2651, allocations: 89.73 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.2652, allocations: 4 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.2652, allocations: 42.48 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2652, allocations: 4 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0008451/0.2661, allocations: 285.4 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2661, allocations: 81.05 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2663, allocations: 164.2 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2663, allocations: 25.7 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.2663, allocations: 96.14 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.2664, allocations: 31.73 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.2664, allocations: 25.72 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2666, allocations: 326.8 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.2668, allocations: 75.92 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.2671, allocations: 89.64 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.2676, allocations: 173.6 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2676, allocations: 0 / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005376/0.2681, allocations: 209.4 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2681, allocations: 8 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2681, allocations: 0 / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2681, allocations: 0 / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.2683, allocations: 39.95 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2684, allocations: 3.938 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.2685, allocations: 31.95 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.2685, allocations: 4 kB / 1.172 GB, free: 1.266 MB / 0.92 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 9.885e-05/0.2686, allocations: 129.8 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.2687, allocations: 11.94 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.2687, allocations: 16.25 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2687, allocations: 4 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2687, allocations: 0 / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2687, allocations: 3.938 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.269, allocations: 233.5 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.269, allocations: 3.938 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.2692, allocations: 39.95 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2692, allocations: 0 / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2692, allocations: 4 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2692, allocations: 0 / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2692, allocations: 0 / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.2698, allocations: 383 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.2699, allocations: 88.95 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.2699, allocations: 8 kB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.2701, allocations: 23.95 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.2702, allocations: 15.98 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.2702, allocations: 7.984 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.688e-05/0.2703, allocations: 121 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2703, allocations: 0 / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002519/0.2705, allocations: 16 kB / 1.173 GB, free: 80 kB / 0.92 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.0009383/0.2715, allocations: 0.9148 MB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005427/0.272, allocations: 175.8 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2721, allocations: 0 / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.2723, allocations: 83.92 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.2727, allocations: 11.98 kB / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.2752, allocations: 1.984 MB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.2756, allocations: 0.7119 MB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.379e-05/0.2757, allocations: 27.97 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.2757, allocations: 35.42 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2757, allocations: 0 / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5079/0.7836, allocations: 2.685 MB / 1.179 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/9.017, allocations: 19.69 kB / 1.179 GB, free: 9.395 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches