Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Asin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.009144/0.009144, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001972/0.001972, allocations: 193.6 kB / 16.68 MB, free: 5.969 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.348/2.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.75/3.75, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 63.91 kB / 0.9505 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261/1.263, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.002642/1.266, allocations: 0.6646 MB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001338/1.267, allocations: 0.7868 MB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/1.268, allocations: 0 / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/1.268, allocations: 4.734 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.803e-05/1.268, allocations: 1.094 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/1.268, allocations: 12.78 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.692e-05/1.268, allocations: 23.83 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/1.268, allocations: 4.5 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.277e-05/1.268, allocations: 17.94 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/1.268, allocations: 12.94 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/1.268, allocations: 6.625 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/1.268, allocations: 2.031 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/1.268, allocations: 0.6562 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/1.268, allocations: 12.73 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/1.269, allocations: 20.33 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.269, allocations: 0.7969 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.993e-06/1.269, allocations: 0 / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.992e-06/1.269, allocations: 0 / 1.089 GB, free: 4.188 MB / 0.8575 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.0005745/1.269, allocations: 340.1 kB / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/1.269, allocations: 9.906 kB / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/1.269, allocations: 32.25 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/1.269, allocations: 1.781 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/1.269, allocations: 167.8 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/1.269, allocations: 5.078 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/1.27, allocations: 2.219 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/1.27, allocations: 48.41 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.27, allocations: 7.938 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/1.27, allocations: 5.609 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.27, allocations: 0 / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/1.27, allocations: 32.88 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/1.27, allocations: 242.1 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/1.271, allocations: 45.48 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/1.271, allocations: 22.88 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/1.271, allocations: 4.922 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/1.271, allocations: 40.27 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/1.271, allocations: 0 / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005164/1.271, allocations: 83.88 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/1.271, allocations: 56.47 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/1.272, allocations: 105.5 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/1.272, allocations: 25.7 kB / 1.09 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/1.272, allocations: 81.78 kB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/1.272, allocations: 9.562 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/1.272, allocations: 13.03 kB / 1.09 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.179e-05/1.272, allocations: 312.7 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/1.272, allocations: 22.97 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/1.272, allocations: 17.42 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/1.272, allocations: 37.92 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.272, allocations: 3.938 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002897/1.273, allocations: 70.5 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.273, allocations: 6.078 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.273, allocations: 4.688 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.273, allocations: 0 / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/1.273, allocations: 9.891 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/1.273, allocations: 0 / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.454e-05/1.273, allocations: 6 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/1.273, allocations: 0.7188 kB / 1.091 GB, free: 2.43 MB / 0.8575 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 7.178e-05/1.273, allocations: 116.6 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/1.273, allocations: 5.656 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/1.273, allocations: 70.89 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.273, allocations: 1.844 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.273, allocations: 4 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.273, allocations: 0 / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/1.274, allocations: 164 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.274, allocations: 1.125 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/1.274, allocations: 12.78 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.274, allocations: 0 / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/1.274, allocations: 1.719 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.274, allocations: 0 / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.274, allocations: 0.5625 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/1.274, allocations: 170.5 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/1.274, allocations: 79.03 kB / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/1.274, allocations: 1.766 kB / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/1.274, allocations: 5.297 kB / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/1.274, allocations: 3.156 kB / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/1.274, allocations: 3.938 kB / 1.091 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.756e-05/1.274, allocations: 83.91 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.11e-07/1.274, allocations: 1.312 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003834/1.275, allocations: 2.562 kB / 1.092 GB, free: 1.73 MB / 0.8575 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.000686/1.276, allocations: 0.7032 MB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003201/1.276, allocations: 39.67 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.276, allocations: 0.7188 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/1.276, allocations: 17.19 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/1.276, allocations: 6.688 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/1.277, allocations: 132 kB / 1.092 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/1.278, allocations: 0.6758 MB / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.807e-05/1.278, allocations: 5.062 kB / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/1.278, allocations: 18.27 kB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/1.278, allocations: 0 / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/1.31, allocations: 1.283 MB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.85, allocations: 4.406 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches