Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.367 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.53/2.53, allocations: 476.7 MB / 0.7628 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 71.89 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7674, allocations: 168.7 MB / 1.271 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001416/0.7689, allocations: 0.5597 MB / 1.272 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 3.431e-05/0.7689, allocations: 0.8438 kB / 1.272 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.7689, allocations: 0 / 1.272 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.7689, allocations: 1.828 kB / 1.272 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.49e-05/0.769, allocations: 0 / 1.272 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.834e-05/0.769, allocations: 0 / 1.272 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.464e-05/0.769, allocations: 7.547 kB / 1.272 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.7691, allocations: 6.344 kB / 1.272 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.075e-05/0.7691, allocations: 0.6094 kB / 1.272 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.44e-05/0.7691, allocations: 4.781 kB / 1.272 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.7691, allocations: 0 / 1.272 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.276e-06/0.7691, allocations: 0.9375 kB / 1.272 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.889e-06/0.7691, allocations: 6.453 kB / 1.272 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.581e-05/0.7692, allocations: 0.8438 kB / 1.272 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 4.869e-05/0.7692, allocations: 6.547 kB / 1.272 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7692, allocations: 0.8438 kB / 1.272 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7692, allocations: 0 / 1.272 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.7692, allocations: 4 kB / 1.272 GB, free: 7.582 MB / 0.9981 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.0001976/0.7694, allocations: 319.4 kB / 1.272 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.7694, allocations: 9.375 kB / 1.272 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.801e-05/0.7695, allocations: 32.36 kB / 1.272 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.574e-05/0.7695, allocations: 1.688 kB / 1.272 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.024e-05/0.7695, allocations: 162.2 kB / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.7695, allocations: 384 / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.7696, allocations: 1.375 kB / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.059e-05/0.7696, allocations: 33 kB / 1.273 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7696, allocations: 3.938 kB / 1.273 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.7696, allocations: 4.844 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.7696, allocations: 0.6094 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.315e-05/0.7696, allocations: 5.344 kB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.7698, allocations: 379.2 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.788e-05/0.7699, allocations: 173.8 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.223e-05/0.7699, allocations: 84.95 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.7699, allocations: 75.28 kB / 1.273 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.7699, allocations: 112.7 kB / 1.273 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.7699, allocations: 0 / 1.273 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.024e-05/0.7699, allocations: 26.45 kB / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.77, allocations: 132.8 kB / 1.273 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.021e-05/0.77, allocations: 98.42 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-06/0.77, allocations: 25.7 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.033e-05/0.77, allocations: 80.86 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-06/0.77, allocations: 0 / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.77, allocations: 11.31 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.141e-05/0.7701, allocations: 312.3 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-06/0.7701, allocations: 0 / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-06/0.7701, allocations: 4.938 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-06/0.7701, allocations: 75.8 kB / 1.274 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.7701, allocations: 84.16 kB / 1.274 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.053e-05/0.7701, allocations: 28.94 kB / 1.274 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.7702, allocations: 81.05 kB / 1.274 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.7702, allocations: 80.12 kB / 1.274 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.7702, allocations: 163.8 kB / 1.274 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-06/0.7702, allocations: 80.61 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.7702, allocations: 156.7 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.7703, allocations: 80.48 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.7703, allocations: 76.58 kB / 1.275 GB, free: 4.473 MB / 0.9981 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 (0): * Single equations (assignments): 0 * 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 4.068e-05/0.7703, allocations: 263 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.7704, allocations: 110.5 kB / 1.275 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.7704, allocations: 110.6 kB / 1.275 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.7704, allocations: 185.6 kB / 1.275 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/0.7704, allocations: 178.1 kB / 1.276 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.7704, allocations: 178 kB / 1.276 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.7706, allocations: 409.3 kB / 1.276 GB, free: 18.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.346e-05/0.7707, allocations: 107.5 kB / 1.276 GB, free: 18.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.7707, allocations: 105.9 kB / 1.276 GB, free: 18.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.419e-05/0.7708, allocations: 177.7 kB / 1.277 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/0.7709, allocations: 178.1 kB / 1.277 GB, free: 18.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.918e-05/0.7709, allocations: 186.6 kB / 1.277 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.301e-05/0.771, allocations: 185.9 kB / 1.277 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.7712, allocations: 308.9 kB / 1.277 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.7712, allocations: 180.7 kB / 1.278 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.911e-05/0.7713, allocations: 186.3 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.7714, allocations: 111.6 kB / 1.278 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.7715, allocations: 184.9 kB / 1.278 GB, free: 17.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.7715, allocations: 103.4 kB / 1.278 GB, free: 16.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.7716, allocations: 77.88 kB / 1.278 GB, free: 16.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.7716, allocations: 0 / 1.278 GB, free: 16.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002216/0.7718, allocations: 0.8438 kB / 1.278 GB, free: 16.84 MB / 1.014 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 (0): * Single equations (assignments): 0 * 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.0004565/0.7723, allocations: 0.8152 MB / 1.279 GB, free: 16.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 3.127e-05/0.7723, allocations: 1.625 kB / 1.279 GB, free: 16.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7723, allocations: 0 / 1.279 GB, free: 16.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.7723, allocations: 0.8125 kB / 1.279 GB, free: 16.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.7726, allocations: 462 kB / 1.279 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009399/0.7736, allocations: 1.523 MB / 1.281 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.7738, allocations: 0.6713 MB / 1.282 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.32e-06/0.7738, allocations: 0 / 1.282 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.7738, allocations: 8.156 kB / 1.282 GB, free: 13.29 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.7738, allocations: 3.938 kB / 1.282 GB, free: 13.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.7944, allocations: 0.8994 MB / 1.282 GB, free: 12.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.759/7.554, allocations: 15.67 kB / 1.282 GB, free: 12.94 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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: 12.924384288999136]