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.008558/0.008558, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001983/0.001983, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.593/2.593, allocations: 437.1 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3248, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002265/0.3271, allocations: 0.7606 MB / 1.167 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3283, allocations: 0.8315 MB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.3284, allocations: 0 / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.3286, allocations: 59.8 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.3287, allocations: 35.83 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.49e-05/0.3288, allocations: 15.98 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.329, allocations: 95.73 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.3291, allocations: 19.98 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.3292, allocations: 43.83 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3294, allocations: 83.78 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.3294, allocations: 8 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.3294, allocations: 8 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.3295, allocations: 43.84 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.3296, allocations: 43.73 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3298, allocations: 115.6 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3298, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.028e-06/0.3298, allocations: 0 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.3298, allocations: 3.938 kB / 1.168 GB, free: 5.094 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.0008417/0.3306, allocations: 470.5 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3307, allocations: 8.031 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.3308, allocations: 38.75 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.3308, allocations: 8.844 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.331, allocations: 204 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3311, allocations: 384 / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3311, allocations: 8.375 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.3315, allocations: 147.9 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3315, allocations: 3.938 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.3315, allocations: 8 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3315, allocations: 3.938 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.3321, allocations: 171.8 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008432/0.3329, allocations: 0.5008 MB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.3333, allocations: 169.1 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.3336, allocations: 93.73 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3336, allocations: 0 / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3336, allocations: 38.56 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3336, allocations: 0 / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0008369/0.3345, allocations: 281.7 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.3345, allocations: 81.11 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3347, allocations: 165 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3347, allocations: 25.7 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.3348, allocations: 116 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.3349, allocations: 15.72 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.3349, allocations: 29.64 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3351, allocations: 326.8 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.3354, allocations: 79.92 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.3356, allocations: 93.62 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.3361, allocations: 173.5 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3361, allocations: 0 / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005158/0.3366, allocations: 213.3 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3366, allocations: 7.984 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3366, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3367, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.3369, allocations: 31.97 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3369, allocations: 0 / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.337, allocations: 31.89 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.337, allocations: 4 kB / 1.172 GB, free: 1.34 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 0.0001176/0.3372, allocations: 137.7 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.3372, allocations: 7.906 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.3373, allocations: 20.25 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3373, allocations: 4 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3373, allocations: 3.984 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3373, allocations: 0 / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.3376, allocations: 229.4 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3376, allocations: 4 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.3378, allocations: 39.89 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.3378, allocations: 4 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3378, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3378, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3378, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/0.3384, allocations: 382.5 kB / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.3385, allocations: 85.02 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.3385, allocations: 3.984 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.3387, allocations: 19.97 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.3387, allocations: 11.98 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3388, allocations: 8 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.658e-05/0.3389, allocations: 126.1 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3389, allocations: 0 / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002782/0.3391, allocations: 27.84 kB / 1.173 GB, free: 152 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.0008915/0.34, allocations: 0.9107 MB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005264/0.3406, allocations: 175.8 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3406, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.3408, allocations: 92.28 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.3412, allocations: 19.88 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.344, allocations: 1.969 MB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.3444, allocations: 0.7119 MB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.574e-05/0.3445, allocations: 27.97 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.3445, allocations: 31.42 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.3445, allocations: 4 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.365, allocations: 2.687 MB / 1.179 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.013, allocations: 11.77 kB / 1.179 GB, free: 9.473 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=50 --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