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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008347/0.0008346, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004881/0.004881, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.124/2.124, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002888, allocations: 12.28 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5535, allocations: 142.4 MB / 0.9552 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001021/0.5546, allocations: 498.6 kB / 0.9557 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.5558, allocations: 0.8284 MB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.5559, allocations: 1.031 kB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.5561, allocations: 53.38 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.5562, allocations: 30.58 kB / 0.9566 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.381e-05/0.5563, allocations: 18.12 kB / 0.9566 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.5564, allocations: 85.52 kB / 0.9567 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.5566, allocations: 22.77 kB / 0.9567 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.36e-05/0.5567, allocations: 30.47 kB / 0.9567 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.5568, allocations: 80 kB / 0.9568 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.5569, allocations: 4.125 kB / 0.9568 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.865e-05/0.5569, allocations: 3.906 kB / 0.9568 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.557, allocations: 31.25 kB / 0.9568 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.5571, allocations: 65.95 kB / 0.9569 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.5572, allocations: 107.6 kB / 0.957 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5572, allocations: 5.344 kB / 0.957 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5572, allocations: 0 / 0.957 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.5572, allocations: 0 / 0.957 GB, free: 6.27 MB / 0.7169 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.0006404/0.5579, allocations: 467.8 kB / 0.9574 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5579, allocations: 14.09 kB / 0.9575 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.558, allocations: 36.12 kB / 0.9575 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.558, allocations: 14.7 kB / 0.9575 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.5582, allocations: 202.5 kB / 0.9577 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.5582, allocations: 2.062 kB / 0.9577 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.5582, allocations: 7.844 kB / 0.9577 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.5586, allocations: 162.2 kB / 0.9579 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5586, allocations: 9.344 kB / 0.9579 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.5586, allocations: 8 kB / 0.9579 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5586, allocations: 5.344 kB / 0.9579 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.5592, allocations: 201.5 kB / 0.9581 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007171/0.5599, allocations: 0.5259 MB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.5603, allocations: 177.2 kB / 0.9588 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.5605, allocations: 107.9 kB / 0.9589 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.5606, allocations: 5.875 kB / 0.9589 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.5606, allocations: 35.38 kB / 0.9589 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.5606, allocations: 3.938 kB / 0.9589 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0008959/0.5615, allocations: 338.3 kB / 0.9592 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.5615, allocations: 79.39 kB / 0.9593 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.5616, allocations: 159.7 kB / 0.9594 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.5617, allocations: 29.7 kB / 0.9595 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.5617, allocations: 106.1 kB / 0.9596 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.5617, allocations: 26.89 kB / 0.9596 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.5618, allocations: 15.72 kB / 0.9596 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.5618, allocations: 326.8 kB / 0.9599 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.5621, allocations: 94.73 kB / 0.96 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.5623, allocations: 110.1 kB / 0.9601 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.5628, allocations: 209.1 kB / 0.9603 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5628, allocations: 1.375 kB / 0.9603 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005353/0.5633, allocations: 238.8 kB / 0.9606 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5633, allocations: 5.031 kB / 0.9606 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.5634, allocations: 1.125 kB / 0.9606 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.5634, allocations: 0.8438 kB / 0.9606 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.5636, allocations: 54.55 kB / 0.9606 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5636, allocations: 0 / 0.9606 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.5637, allocations: 29.75 kB / 0.9606 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.5637, allocations: 2.312 kB / 0.9606 GB, free: 3.484 MB / 0.7169 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 7.07e-05/0.5638, allocations: 135.6 kB / 0.9608 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.5639, allocations: 13.88 kB / 0.9608 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.5639, allocations: 19.92 kB / 0.9608 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5639, allocations: 2 kB / 0.9608 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5639, allocations: 1.375 kB / 0.9608 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5639, allocations: 0 / 0.9608 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.5642, allocations: 226.5 kB / 0.961 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5642, allocations: 1.219 kB / 0.961 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.5643, allocations: 45.58 kB / 0.9611 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.5644, allocations: 1.031 kB / 0.9611 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.5644, allocations: 5.156 kB / 0.9611 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5644, allocations: 5.062 kB / 0.9611 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5644, allocations: 0 / 0.9611 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.565, allocations: 410.4 kB / 0.9615 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.565, allocations: 100.9 kB / 0.9616 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.565, allocations: 9.188 kB / 0.9616 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.5652, allocations: 28.22 kB / 0.9616 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.5653, allocations: 11.39 kB / 0.9616 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.5653, allocations: 2.25 kB / 0.9616 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.301e-05/0.5654, allocations: 122.4 kB / 0.9617 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5654, allocations: 0 / 0.9617 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000258/0.5656, allocations: 20.34 kB / 0.9618 GB, free: 2.543 MB / 0.7169 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.0007436/0.5664, allocations: 0.9477 MB / 0.9627 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005417/0.5669, allocations: 206.5 kB / 0.9629 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5669, allocations: 1 kB / 0.9629 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.5672, allocations: 107.5 kB / 0.963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.5675, allocations: 11.72 kB / 0.963 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.5698, allocations: 2.073 MB / 0.965 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.5701, allocations: 0.7143 MB / 0.9657 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.519e-05/0.5702, allocations: 26.41 kB / 0.9657 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.5702, allocations: 30.58 kB / 0.9658 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of SimCode: time 1.563e-06/0.5702, allocations: 0 / 0.9658 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.281/2.851, allocations: 2.276 MB / 0.968 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/2.852, allocations: 210.1 kB / 0.9682 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/4.457, allocations: 0 / 0.9682 GB, free: 13.86 MB / 0.7325 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