Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.001219/0.001219, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0009011/0.0009011, allocations: 173.6 kB / 23.24 MB, free: 1.32 MB / 18.57 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 0.897/0.897, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.985/1.985, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.192e-05, allocations: 5.797 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001721/0.001743, allocations: 0.7269 MB / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.002857, allocations: 1.175 MB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.002925, allocations: 3.938 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.003043, allocations: 19.86 kB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.701e-05/0.00307, allocations: 11.86 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.003479, allocations: 134.8 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.003637, allocations: 143.6 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.141e-05/0.003728, allocations: 16 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.003804, allocations: 63.88 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.003883, allocations: 31.89 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.003903, allocations: 8 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.816e-05/0.003961, allocations: 27.97 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.003982, allocations: 7.938 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.004028, allocations: 27.98 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.004202, allocations: 131.6 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004204, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004205, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.004209, allocations: 4 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003797/0.004589, allocations: 339.7 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.004629, allocations: 13.34 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.004658, allocations: 34.75 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.004696, allocations: 12.89 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.004879, allocations: 137.6 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.004891, allocations: 8.375 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.004905, allocations: 8.375 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.769e-05/0.005003, allocations: 68.77 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.005011, allocations: 4.188 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.005021, allocations: 4.359 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.005026, allocations: 8.125 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.837e-05/0.005055, allocations: 16 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.005414, allocations: 448.1 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/0.005461, allocations: 26.5 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.005474, allocations: 8.859 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.005481, allocations: 8.047 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.679e-05/0.005568, allocations: 55.39 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 2.725e-06/0.00557, allocations: 4 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001646/0.005735, allocations: 65.58 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.005769, allocations: 59.41 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.861e-05/0.005868, allocations: 147.4 kB / 1.005 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.005884, allocations: 29.7 kB / 1.005 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.005934, allocations: 100.1 kB / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.005941, allocations: 0 / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.005995, allocations: 29.7 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.006081, allocations: 326.8 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.006153, allocations: 61.67 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.265e-05/0.006216, allocations: 80.2 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.57e-05/0.006291, allocations: 88.2 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006293, allocations: 0 / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001835/0.006477, allocations: 177 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.006505, allocations: 37.69 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.006511, allocations: 4 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.006524, allocations: 0 / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.685e-05/0.006541, allocations: 8 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.006547, allocations: 3.984 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.006685, allocations: 36.02 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.0067, allocations: 11.92 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.826e-05/0.006768, allocations: 113.8 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.006778, allocations: 7.953 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.006804, allocations: 12.34 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006806, allocations: 0 / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.006811, allocations: 3.984 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006814, allocations: 0 / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.74e-05/0.006901, allocations: 140.7 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.006903, allocations: 7.984 kB / 1.006 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-06/0.006907, allocations: 3.938 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.00691, allocations: 4 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.006915, allocations: 0 / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006916, allocations: 0 / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006917, allocations: 0 / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.469e-05/0.007002, allocations: 85.02 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.007013, allocations: 7.953 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.007025, allocations: 3.984 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/0.007035, allocations: 0 / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.00706, allocations: 4.281 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.007063, allocations: 4 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.669e-05/0.00712, allocations: 119.9 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00712, allocations: 0 / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001586/0.007279, allocations: 16 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002936/0.007572, allocations: 0.6318 MB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.007742, allocations: 141 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007743, allocations: 0 / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.00776, allocations: 7.984 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.00794, allocations: 20.88 kB / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.009474, allocations: 1.629 MB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.156e-05/0.009516, allocations: 71.33 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.009539, allocations: 4 kB / 1.008 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.009577, allocations: 32.42 kB / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of SimCode: time 8.22e-07/0.009578, allocations: 0 / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08443/0.09401, allocations: 3.161 MB / 1.012 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.44, allocations: 9.109 kB / 1.012 GB, free: 1.973 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_fmpy.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.119217586703598]