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.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.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.001197/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001139/0.001139, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.157/1.157, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.188/2.188, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.91 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4467, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001583/0.4483, allocations: 0.7279 MB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006257/0.4489, allocations: 0.7884 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.449, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.449, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.4491, allocations: 7.922 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.4492, allocations: 12 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.311e-05/0.4492, allocations: 19.98 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/0.4493, allocations: 4 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.4494, allocations: 15.88 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.272e-05/0.4494, allocations: 3.984 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.4494, allocations: 4 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.4494, allocations: 0 / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.4494, allocations: 11.92 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.4495, allocations: 7.984 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.221e-05/0.4495, allocations: 27.91 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4495, allocations: 0 / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.21e-07/0.4495, allocations: 0 / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.4495, allocations: 3.938 kB / 1.018 GB, free: 1.102 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.0003292/0.4499, allocations: 333.8 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.4499, allocations: 12.03 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.494e-05/0.4499, allocations: 30.75 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.899e-05/0.45, allocations: 4.844 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.983e-05/0.4501, allocations: 164.4 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.4501, allocations: 4.375 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.4501, allocations: 8.359 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.4502, allocations: 46.19 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.4502, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.4503, allocations: 4 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.4503, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.4504, allocations: 35.95 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.4507, allocations: 248.9 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.4508, allocations: 42.53 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.4509, allocations: 16.91 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.4509, allocations: 7.984 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.4509, allocations: 38.5 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4509, allocations: 0 / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002855/0.4512, allocations: 81.59 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.4512, allocations: 51.41 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.501e-05/0.4513, allocations: 101.8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.4513, allocations: 25.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.4514, allocations: 88.2 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.4514, allocations: 7.906 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.4514, allocations: 13.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.99e-05/0.4515, allocations: 314.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.4516, allocations: 23.91 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.4516, allocations: 11.98 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.4518, allocations: 40.89 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4518, allocations: 3.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001724/0.452, allocations: 69.56 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.452, allocations: 5.562 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.452, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.452, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/0.4521, allocations: 20.02 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.4521, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.4522, allocations: 7.984 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.4522, allocations: 0 / 1.02 GB, free: 15.04 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.193e-05/0.4522, allocations: 114.2 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.4522, allocations: 8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.4525, allocations: 72.78 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4525, allocations: 3.938 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4525, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.4525, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.4526, allocations: 161.6 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4526, allocations: 4 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.4527, allocations: 4 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4527, allocations: 0 / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4527, allocations: 3.984 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4527, allocations: 0 / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4527, allocations: 4 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.4529, allocations: 167.4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.4529, allocations: 85.05 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.453, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.453, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.4531, allocations: 3.984 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.4531, allocations: 4.031 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.776e-05/0.4531, allocations: 79.28 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4531, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002072/0.4533, allocations: 8 kB / 1.021 GB, free: 14.23 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.0004123/0.4537, allocations: 0.7045 MB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.4539, allocations: 35.95 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.4539, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.454, allocations: 15.98 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.4542, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.4546, allocations: 149.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.4547, allocations: 0.677 MB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.075e-05/0.4548, allocations: 3.984 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.4548, allocations: 7.438 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.4548, allocations: 0 / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.4733, allocations: 1.079 MB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.4735, allocations: 201.7 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.412/1.886, allocations: 3.938 kB / 1.024 GB, free: 11.29 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