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.004553/0.004553, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001102/0.001102, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 69.97 kB / 0.9505 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2587, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.001768/0.2605, allocations: 0.6546 MB / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000883/0.2614, allocations: 0.7926 MB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.2614, allocations: 4 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.2615, allocations: 0 / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.2615, allocations: 3.938 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.2617, allocations: 15.98 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.318e-05/0.2618, allocations: 23.92 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2619, allocations: 4 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.2619, allocations: 11.94 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.262, allocations: 11.97 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.262, allocations: 7.938 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-06/0.262, allocations: 4 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.2621, allocations: 4 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.2621, allocations: 11.92 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.76e-05/0.2622, allocations: 15.97 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2622, allocations: 3.938 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2622, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2622, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 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.0004322/0.2626, allocations: 338.4 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2627, allocations: 8.031 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.2627, allocations: 34.75 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.2628, allocations: 8.844 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2629, allocations: 164.3 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2629, allocations: 8.312 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.2629, allocations: 4.359 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.2631, allocations: 46.25 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2631, allocations: 3.938 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.2631, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2631, allocations: 4 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.2633, allocations: 35.95 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.2636, allocations: 240.9 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.2637, allocations: 46.47 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.899e-05/0.2638, allocations: 20.91 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.2638, allocations: 7.984 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.2639, allocations: 30.56 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2639, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.00034/0.2642, allocations: 85.58 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2642, allocations: 51.41 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.2643, allocations: 106 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.2643, allocations: 29.7 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.2644, allocations: 88.03 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.2644, allocations: 4.562 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.2644, allocations: 13.72 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.2645, allocations: 310.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.2646, allocations: 19.97 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/0.2647, allocations: 19.98 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2648, allocations: 32.83 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2649, allocations: 3.938 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.2651, allocations: 77.5 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2651, allocations: 4 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2651, allocations: 4.094 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2651, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.278e-05/0.2652, allocations: 7.984 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.2652, allocations: 3.984 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.2653, allocations: 7.984 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.2653, allocations: 0 / 1.091 GB, free: 14.28 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 6.962e-05/0.2654, allocations: 114.1 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.2654, allocations: 3.938 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.2656, allocations: 72.78 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2656, allocations: 11.88 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2656, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2656, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.2658, allocations: 165.5 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2658, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.2659, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2659, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2659, allocations: 12.02 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2659, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2659, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.2661, allocations: 163.5 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.2662, allocations: 81.02 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.2662, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.2663, allocations: 8.031 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.2663, allocations: 7.984 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2663, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.2664, allocations: 83.28 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2664, allocations: 3.938 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002371/0.2666, allocations: 0 / 1.092 GB, free: 13.46 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.0004889/0.2671, allocations: 0.6968 MB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.2673, allocations: 39.95 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2673, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.2674, allocations: 20.02 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2677, allocations: 8 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.2681, allocations: 135.2 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.2683, allocations: 0.6729 MB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.398e-05/0.2683, allocations: 4 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.2684, allocations: 11.42 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.2684, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.2837, allocations: 1.285 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.451, allocations: 8 kB / 1.094 GB, free: 10.58 MB / 0.8575 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