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.0121/0.0121, allocations: 97.3 kB / 15.73 MB, free: 6.043 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.001595/0.001595, allocations: 199.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.431/2.431, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 5.017/5.017, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6068/0.6088, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.003052/0.6119, allocations: 0.6634 MB / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.6137, allocations: 0.7926 MB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.6137, allocations: 0 / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.537e-05/0.6138, allocations: 4 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.67e-05/0.6139, allocations: 3.938 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.6141, allocations: 15.98 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.6143, allocations: 27.86 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.6144, allocations: 7.984 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.6145, allocations: 8 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.6146, allocations: 15.92 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.6146, allocations: 0 / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.823e-05/0.6146, allocations: 4 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.6147, allocations: 4 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.6147, allocations: 7.938 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.6148, allocations: 27.88 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6149, allocations: 0 / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.113e-06/0.6149, allocations: 4 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.6149, allocations: 0 / 1.168 GB, free: 5.672 MB / 0.92 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.0007147/0.6156, allocations: 343.6 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.6157, allocations: 8.031 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/0.6158, allocations: 30.75 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.6158, allocations: 12.88 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.616, allocations: 164.3 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.6161, allocations: 384 / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.6161, allocations: 8.375 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.6164, allocations: 46.23 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6164, allocations: 3.938 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.6164, allocations: 4 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6165, allocations: 0 / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.6168, allocations: 35.95 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.6173, allocations: 244.9 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.6176, allocations: 42.5 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.6177, allocations: 20.89 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.6178, allocations: 4 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.6178, allocations: 30.56 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.903e-06/0.6179, allocations: 0 / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0006478/0.6185, allocations: 85.58 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.6186, allocations: 51.41 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.6188, allocations: 106 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.6188, allocations: 29.7 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.6189, allocations: 84.12 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.6189, allocations: 3.953 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.619, allocations: 17.72 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.6193, allocations: 310.8 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.6194, allocations: 15.98 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.6196, allocations: 23.97 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.6199, allocations: 32.83 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.6199, allocations: 3.938 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003857/0.6203, allocations: 73.55 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.6204, allocations: 4 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6204, allocations: 7.938 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6204, allocations: 4.094 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.6206, allocations: 11.98 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.6206, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.049e-05/0.6207, allocations: 4 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.6208, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 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 0.000143/0.6209, allocations: 117.8 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.621, allocations: 0 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.6214, allocations: 80.72 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6214, allocations: 0 / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6214, allocations: 3.938 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.6215, allocations: 0 / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.6218, allocations: 165.5 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6218, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.6219, allocations: 11.98 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.622, allocations: 0 / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.622, allocations: 0 / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.622, allocations: 4.031 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.622, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.6225, allocations: 163.5 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.6226, allocations: 81.06 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.6226, allocations: 3.984 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.6228, allocations: 8.031 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.6229, allocations: 4 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.6229, allocations: 7.922 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.624e-05/0.623, allocations: 79.28 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.61e-07/0.623, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004504/0.6234, allocations: 8 kB / 1.17 GB, free: 2.781 MB / 0.92 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.001022/0.6245, allocations: 0.6929 MB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.6249, allocations: 39.95 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.6249, allocations: 0 / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.6251, allocations: 19.92 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.6256, allocations: 8.156 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.6264, allocations: 131.7 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.627, allocations: 0.6768 MB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.502e-05/0.627, allocations: 0 / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.6271, allocations: 15.38 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of SimCode: time 4.51e-07/0.6271, allocations: 0 / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0622/0.6893, allocations: 1.275 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.64, allocations: 15.86 kB / 1.173 GB, free: 15.9 MB / 0.9356 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