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.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.001552/0.001552, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001565/0.001565, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.51/1.51, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7672 GB, free: 5.234 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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: 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.003022/0.003022, allocations: 68.16 kB / 1.112 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7739/0.7769, allocations: 169.9 MB / 1.278 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001767/0.7787, allocations: 0.5422 MB / 1.279 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.448e-05/0.7788, allocations: 11.94 kB / 1.279 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.7788, allocations: 0 / 1.279 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.7788, allocations: 4 kB / 1.279 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.815e-05/0.7788, allocations: 3.938 kB / 1.279 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.133e-05/0.7789, allocations: 0 / 1.279 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.7789, allocations: 7.984 kB / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.779, allocations: 7.984 kB / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.246e-05/0.779, allocations: 0 / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.693e-05/0.779, allocations: 0 / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.779, allocations: 0 / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-06/0.779, allocations: 0 / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.779, allocations: 0 / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.779, allocations: 4 kB / 1.279 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.873e-05/0.7791, allocations: 11.94 kB / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.7791, allocations: 0 / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7791, allocations: 0 / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7791, allocations: 0 / 1.279 GB, free: 12.94 MB / 0.9825 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.0003302/0.7794, allocations: 315.4 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.7795, allocations: 8.031 kB / 1.279 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.7795, allocations: 30.75 kB / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.777e-05/0.7795, allocations: 0.9375 kB / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.7797, allocations: 160.4 kB / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.7797, allocations: 4.375 kB / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.7797, allocations: 8.375 kB / 1.279 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.356e-05/0.7798, allocations: 30.2 kB / 1.279 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7798, allocations: 7.922 kB / 1.279 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.7798, allocations: 3.938 kB / 1.279 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7798, allocations: 0 / 1.279 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.7798, allocations: 7.984 kB / 1.279 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.7802, allocations: 379.5 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.7803, allocations: 177 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.7803, allocations: 84.12 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.7804, allocations: 75.28 kB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.7804, allocations: 105.8 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.7804, allocations: 0 / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.904e-05/0.7805, allocations: 37.7 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.7805, allocations: 126.7 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.7807, allocations: 93.86 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.7807, allocations: 25.7 kB / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.7807, allocations: 80.14 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.7807, allocations: 3.938 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.7807, allocations: 13.7 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7809, allocations: 319 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-06/0.7809, allocations: 7.938 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-06/0.7809, allocations: 0 / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.654e-05/0.7809, allocations: 75.28 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.458e-05/0.781, allocations: 79.22 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.428e-05/0.781, allocations: 25.7 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.7811, allocations: 83.28 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.7811, allocations: 79.22 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.144e-05/0.7812, allocations: 158.6 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.168e-05/0.7812, allocations: 79.28 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.11e-05/0.7813, allocations: 158.5 kB / 1.282 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.7814, allocations: 79.28 kB / 1.282 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.7814, allocations: 79.22 kB / 1.282 GB, free: 9.762 MB / 0.9825 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 0.0001755/0.7816, allocations: 270.5 kB / 1.282 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.7817, allocations: 102.7 kB / 1.282 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.7817, allocations: 108.1 kB / 1.282 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.463e-05/0.7818, allocations: 180.2 kB / 1.282 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.935e-05/0.7819, allocations: 184.3 kB / 1.283 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-05/0.782, allocations: 180.2 kB / 1.283 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.7822, allocations: 405.2 kB / 1.283 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-05/0.7823, allocations: 105 kB / 1.283 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/0.7823, allocations: 108.9 kB / 1.283 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.189e-05/0.7824, allocations: 176.3 kB / 1.283 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.162e-05/0.7825, allocations: 184.2 kB / 1.284 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.411e-05/0.7826, allocations: 188.2 kB / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000138/0.7827, allocations: 184.2 kB / 1.284 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.7829, allocations: 308.1 kB / 1.284 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.783, allocations: 186 kB / 1.284 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.7831, allocations: 176.3 kB / 1.285 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.7831, allocations: 117 kB / 1.285 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.7832, allocations: 180.3 kB / 1.285 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.7833, allocations: 101 kB / 1.285 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.7833, allocations: 83.27 kB / 1.285 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.7833, allocations: 0 / 1.285 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002648/0.7836, allocations: 0 / 1.285 GB, free: 6.086 MB / 0.9825 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.0004864/0.7841, allocations: 0.8093 MB / 1.286 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.438e-05/0.7841, allocations: 0 / 1.286 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7841, allocations: 3.938 kB / 1.286 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.516e-06/0.7841, allocations: 4 kB / 1.286 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.7845, allocations: 463.6 kB / 1.286 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.7857, allocations: 1.516 MB / 1.288 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.786, allocations: 0.6767 MB / 1.288 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.504e-06/0.786, allocations: 0 / 1.288 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.7861, allocations: 7.438 kB / 1.288 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.7861, allocations: 0 / 1.288 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.808, allocations: 0.944 MB / 1.289 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.908, allocations: 6.938 kB / 1.289 GB, free: 1.641 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.17861055699177]