Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.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.Asin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",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.001561/0.001561, allocations: 108 kB / 15.6 MB, free: 132 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.001867/0.001867, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.418/2.418, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.91 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5127, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001817/0.5146, allocations: 0.6691 MB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007724/0.5154, allocations: 0.7845 MB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.5154, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.5155, allocations: 3.938 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.5155, allocations: 8 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.5156, allocations: 11.92 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.5157, allocations: 16 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.5158, allocations: 15.97 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.165e-05/0.5159, allocations: 11.88 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.318e-05/0.5159, allocations: 7.984 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.5159, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.5159, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.516, allocations: 11.94 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.516, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.952e-05/0.5161, allocations: 31.89 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5161, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5161, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.5161, allocations: 0 / 1.019 GB, free: 0.8516 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.0003711/0.5165, allocations: 333.7 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5165, allocations: 8.031 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.5165, allocations: 34.75 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.151e-05/0.5166, allocations: 4.938 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/0.5167, allocations: 164.3 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.5167, allocations: 8.375 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.5167, allocations: 384 / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.5169, allocations: 54.17 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5169, allocations: 7.875 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.5169, allocations: 4 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.5169, allocations: 0 / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.5171, allocations: 31.95 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.5174, allocations: 249 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.5175, allocations: 38.5 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.5176, allocations: 28.89 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.5176, allocations: 3.938 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.5176, allocations: 38.5 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5176, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003291/0.518, allocations: 81.64 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.518, allocations: 51.41 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.196e-05/0.5181, allocations: 93.86 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.5181, allocations: 29.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.5181, allocations: 96.19 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.5182, allocations: 3.906 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.5182, allocations: 13.72 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.5183, allocations: 314.8 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.5184, allocations: 15.92 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.5184, allocations: 23.97 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.5186, allocations: 36.89 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5186, allocations: 3.938 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/0.5188, allocations: 65.66 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5188, allocations: 6.344 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5188, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.5189, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.5189, allocations: 12.02 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.519, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.519, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.519, allocations: 0 / 1.021 GB, free: 14.79 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.362e-05/0.5191, allocations: 121.7 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.5191, allocations: 7.891 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.5193, allocations: 68.78 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5194, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.5194, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5194, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.5195, allocations: 157.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5195, allocations: 192 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.5196, allocations: 7.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5196, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.5196, allocations: 3.984 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5196, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5196, allocations: 7.969 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.5198, allocations: 167.4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.5199, allocations: 81.05 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.5199, allocations: 7.984 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.52, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.52, allocations: 8.031 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.52, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.5201, allocations: 87.27 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5201, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002108/0.5203, allocations: 4 kB / 1.021 GB, free: 13.96 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.0005234/0.5208, allocations: 0.7045 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.521, allocations: 39.95 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.521, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.5211, allocations: 15.98 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.5214, allocations: 8.156 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.5218, allocations: 139.8 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.522, allocations: 0.6768 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.116e-05/0.5221, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.449e-05/0.5221, allocations: 15.44 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.5221, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.5383, allocations: 1.23 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.64/7.179, allocations: 7.078 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches