Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 213 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.176/3.176, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 70.53 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3644, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001913/0.3663, allocations: 0.6282 MB / 1.326 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3675, allocations: 0.8436 MB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.3675, allocations: 0 / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.3676, allocations: 3.938 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.3676, allocations: 0 / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.3678, allocations: 19.91 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.917e-05/0.3678, allocations: 19.94 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.3679, allocations: 0 / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.368, allocations: 15.98 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.3681, allocations: 11.94 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.3681, allocations: 0 / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.085e-05/0.3681, allocations: 7.984 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.3681, allocations: 3.984 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.3681, allocations: 7.938 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.517e-05/0.3682, allocations: 24.19 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3682, allocations: 0 / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3682, allocations: 0 / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.3683, allocations: 0 / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004288/0.3687, allocations: 254.3 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3687, allocations: 12.03 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.3688, allocations: 30.75 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.3689, allocations: 12.92 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.369, allocations: 110.5 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.369, allocations: 4.375 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.369, allocations: 384 / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.3692, allocations: 38.19 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3692, allocations: 3.938 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.3692, allocations: 0 / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.3692, allocations: 7.938 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.557e-05/0.3692, allocations: 15.98 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.3694, allocations: 116.8 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.437e-05/0.3695, allocations: 34.53 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.3695, allocations: 8.922 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.3695, allocations: 0 / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.3696, allocations: 38.62 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3696, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002002/0.3698, allocations: 61.56 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.3698, allocations: 55.41 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3699, allocations: 101.8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.37, allocations: 25.7 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.37, allocations: 88.14 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.37, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.3701, allocations: 9.719 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3702, allocations: 318.8 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.3703, allocations: 8 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.3703, allocations: 8.125 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.181e-05/0.3704, allocations: 20.84 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3704, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001076/0.3705, allocations: 53.56 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3705, allocations: 11.94 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3705, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3705, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.3706, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3706, allocations: 96 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.3706, allocations: 4 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.3706, allocations: 0 / 1.328 GB, free: 15.13 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.0001908/0.3708, allocations: 118.4 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.3708, allocations: 3.938 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.978e-05/0.3708, allocations: 3.156 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3708, allocations: 4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3708, allocations: 3.938 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3708, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.3709, allocations: 128.7 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3709, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.371, allocations: 4 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.371, allocations: 7.938 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.371, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.371, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.371, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.3711, allocations: 73.05 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.3711, allocations: 11.89 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.3711, allocations: 3.938 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.571e-05/0.3712, allocations: 256 / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.3712, allocations: 16 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.3712, allocations: 4 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.3713, allocations: 83.28 kB / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3713, allocations: 0 / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001823/0.3714, allocations: 4 kB / 1.328 GB, free: 14.59 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.0004887/0.3719, allocations: 0.6007 MB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.372, allocations: 23.92 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.372, allocations: 4.094 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.3721, allocations: 4 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.3722, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.3727, allocations: 136.6 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.957e-05/0.3728, allocations: 59.34 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.3728, allocations: 0 / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.3728, allocations: 11.44 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3728, allocations: 64 / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.4009, allocations: 1.625 MB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.71, allocations: 3.906 kB / 1.331 GB, free: 12.18 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.56199959293008]