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.001472/0.001472, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001621/0.001621, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.2/1.2, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.289/2.289, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 59.91 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5011, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001683/0.5029, allocations: 0.7396 MB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007054/0.5036, allocations: 0.7884 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.5036, allocations: 4 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.5036, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.928e-05/0.5037, allocations: 7.938 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.5038, allocations: 4 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.5039, allocations: 23.98 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.504, allocations: 0 / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.504, allocations: 19.86 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.33e-05/0.5041, allocations: 11.98 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.5041, allocations: 7.938 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.5041, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.5041, allocations: 7.922 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.5041, allocations: 12 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.278e-05/0.5042, allocations: 23.91 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5042, allocations: 0 / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5042, allocations: 0 / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.5042, allocations: 0 / 1.019 GB, free: 1.047 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.0003822/0.5046, allocations: 333.7 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.5047, allocations: 12.03 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.5047, allocations: 30.75 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.871e-05/0.5047, allocations: 0.9375 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.922e-05/0.5048, allocations: 176.3 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.5048, allocations: 384 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.5049, allocations: 4.375 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.505, allocations: 46.23 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.505, allocations: 7.875 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.505, allocations: 4 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.505, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.5052, allocations: 31.97 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.5055, allocations: 249 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.5056, allocations: 38.55 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/0.5057, allocations: 16.86 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.5057, allocations: 4 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.5057, allocations: 38.5 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5057, allocations: 3.938 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002946/0.506, allocations: 81.64 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.5061, allocations: 51.41 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.511e-05/0.5062, allocations: 101.8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.5062, allocations: 29.83 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.5062, allocations: 84.08 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.5062, allocations: 11.89 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.5063, allocations: 13.72 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.5064, allocations: 318.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.449e-05/0.5064, allocations: 15.98 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.5065, allocations: 15.92 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.5067, allocations: 44.88 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5067, allocations: 3.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001652/0.5068, allocations: 61.67 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.5069, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.5069, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.5069, allocations: 4.031 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.089e-05/0.507, allocations: 19.92 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.507, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.507, allocations: 11.98 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.507, allocations: 0 / 1.02 GB, free: 14.98 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.765e-05/0.5071, allocations: 114.2 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.5071, allocations: 7.906 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.5073, allocations: 72.78 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5073, allocations: 192 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5074, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5074, allocations: 7.969 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.5075, allocations: 161.6 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5075, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.5076, allocations: 7.984 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.5076, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.5076, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.5076, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5076, allocations: 8.031 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.5078, allocations: 163.4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.5079, allocations: 81.11 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.5079, allocations: 3.938 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.508, allocations: 7.984 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.508, allocations: 4.031 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.508, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.058e-05/0.508, allocations: 79.28 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.508, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002028/0.5082, allocations: 8 kB / 1.021 GB, free: 14.17 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.0004521/0.5087, allocations: 0.7084 MB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.5089, allocations: 31.97 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.5089, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.304e-05/0.509, allocations: 19.97 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.5092, allocations: 12.16 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.5096, allocations: 135.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.5098, allocations: 0.6806 MB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.5098, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.5099, allocations: 7.438 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5099, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009799/0.5197, allocations: 1.119 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.5198, allocations: 203.5 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.088, allocations: 0 / 1.024 GB, free: 11.22 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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