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.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.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.001481/0.001481, allocations: 108 kB / 15.61 MB, free: 152 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.001741/0.001741, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.417/2.417, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5159/0.5171, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001895/0.5191, allocations: 0.6631 MB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00083/0.5199, allocations: 0.8118 MB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.52, allocations: 0 / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.52, allocations: 3.938 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.5201, allocations: 0 / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.5202, allocations: 4 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.948e-05/0.5203, allocations: 27.92 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.5204, allocations: 8 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.24e-05/0.5204, allocations: 11.92 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.339e-05/0.5205, allocations: 19.97 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.5205, allocations: 4 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.5205, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.5205, allocations: 7.875 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.5205, allocations: 8 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.354e-05/0.5206, allocations: 19.91 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5206, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5206, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.5206, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 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.0003806/0.521, allocations: 341.7 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5211, allocations: 8.031 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.5211, allocations: 34.73 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.971e-05/0.5211, allocations: 0.9375 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.662e-05/0.5212, allocations: 168.3 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.5212, allocations: 4.375 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.5213, allocations: 384 / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.5214, allocations: 54.17 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.5214, allocations: 3.938 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.5215, allocations: 4 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5215, allocations: 0 / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.5216, allocations: 39.89 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.5219, allocations: 244.9 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.5221, allocations: 38.5 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.5222, allocations: 24.91 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.5222, allocations: 3.984 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.5222, allocations: 30.56 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.935e-06/0.5222, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003339/0.5225, allocations: 85.7 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.5226, allocations: 55.41 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.322e-05/0.5227, allocations: 97.86 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.5227, allocations: 25.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.5227, allocations: 88.08 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.5227, allocations: 7.906 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.5228, allocations: 17.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.5229, allocations: 314.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.523, allocations: 19.98 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.523, allocations: 11.98 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.5232, allocations: 44.75 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5232, allocations: 3.938 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002105/0.5234, allocations: 69.73 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5234, allocations: 7.984 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.5234, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.5235, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.5235, allocations: 8 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.5236, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.5236, allocations: 8.172 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.5236, allocations: 0 / 1.021 GB, free: 14.82 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 6.31e-05/0.5237, allocations: 119.3 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.5237, allocations: 7.891 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.524, allocations: 76.7 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.524, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.524, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.524, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.5241, allocations: 161.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5241, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.5242, allocations: 12.02 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5242, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.5242, allocations: 7.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5242, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5242, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.5245, allocations: 167.4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.5245, allocations: 81.14 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.5245, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.5246, allocations: 7.984 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.5247, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.5247, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.5247, allocations: 83.27 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5247, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002144/0.5249, allocations: 4 kB / 1.021 GB, free: 13.99 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.0004768/0.5254, allocations: 0.7006 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.5256, allocations: 35.91 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5256, allocations: 4.094 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.5257, allocations: 19.97 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.526, allocations: 8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.5264, allocations: 135.8 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.5266, allocations: 0.6768 MB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.91e-05/0.5266, allocations: 4.062 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.5266, allocations: 11.44 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of SimCode: time 1.442e-06/0.5266, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.5468, allocations: 1.242 MB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/7.756, allocations: 14.45 kB / 1.024 GB, free: 11.12 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