Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Cos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",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.0007223/0.0007224, allocations: 97.56 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.00447/0.00447, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.329/2.329, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 19.98 kB / 0.873 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5534, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.0005902/0.5541, allocations: 406.3 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007175/0.5548, allocations: 0.804 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.5548, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.056e-06/0.5548, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.343e-05/0.5549, allocations: 3.938 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.724e-05/0.555, allocations: 7.984 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.804e-05/0.555, allocations: 23.94 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.5551, allocations: 7.969 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.217e-05/0.5551, allocations: 11.94 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.593e-05/0.5551, allocations: 7.984 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.5552, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.33e-06/0.5552, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.5552, allocations: 7.938 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.5552, allocations: 29.7 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.176e-05/0.5553, allocations: 23.89 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.5553, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5553, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.154e-06/0.5553, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002865/0.5556, allocations: 341.8 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.638e-05/0.5556, allocations: 12.03 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.265e-05/0.5556, allocations: 30.75 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.316e-05/0.5556, allocations: 0.9375 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.119e-05/0.5557, allocations: 172.3 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-06/0.5557, allocations: 384 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.5558, allocations: 4.375 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.5559, allocations: 62.16 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.5559, allocations: 3.938 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.5559, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-06/0.5559, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.5561, allocations: 47.95 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.5563, allocations: 245 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.5564, allocations: 42.5 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.5565, allocations: 40.77 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.5566, allocations: 0 / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.5566, allocations: 30.56 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.5566, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003091/0.5569, allocations: 97.64 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.5569, allocations: 59.34 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.065e-05/0.557, allocations: 97.86 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.557, allocations: 25.7 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.557, allocations: 88.06 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.5571, allocations: 8.031 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.5571, allocations: 17.72 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.5572, allocations: 310.8 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.5573, allocations: 19.92 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.5573, allocations: 27.97 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.5575, allocations: 48.89 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5575, allocations: 3.938 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.5577, allocations: 77.66 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5577, allocations: 8 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.5577, allocations: 3.984 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/0.5577, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.917e-05/0.5578, allocations: 11.98 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.5578, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.5579, allocations: 15.97 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.5579, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 5.076e-05/0.5579, allocations: 110.3 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.558, allocations: 3.906 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.5582, allocations: 88.77 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5582, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.5582, allocations: 4 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-06/0.5582, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.5583, allocations: 157.6 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5584, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.5584, allocations: 11.98 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5584, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.5584, allocations: 4.031 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.5584, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5585, allocations: 7.938 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.5587, allocations: 179.4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.5587, allocations: 77.11 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.5587, allocations: 4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.5588, allocations: 11.98 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.5588, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.5588, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.5589, allocations: 83.45 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5589, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001957/0.5591, allocations: 8.031 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0004458/0.5595, allocations: 0.7123 MB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.5597, allocations: 47.95 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.5597, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.5598, allocations: 28.05 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.5601, allocations: 6.016 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.5603, allocations: 148.4 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.5605, allocations: 0.6731 MB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.5606, allocations: 12.05 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.5606, allocations: 7.438 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5606, allocations: 0 / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9491/1.51, allocations: 1.004 MB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.51, allocations: 205.7 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/3.083, allocations: 0 / 1.03 GB, free: 8.613 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches