Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001474/0.001474, allocations: 111 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.001464/0.001464, allocations: 213.7 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.192/3.192, allocations: 0.49 GB / 0.7916 GB, free: 33.56 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.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",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.002092/0.002092, allocations: 63.5 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3242, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.002566/0.3268, allocations: 0.7445 MB / 1.322 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3285, allocations: 1.182 MB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.3286, allocations: 8 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.3288, allocations: 23.73 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.972e-05/0.3288, allocations: 11.88 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.3294, allocations: 123.4 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.3296, allocations: 123.8 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3297, allocations: 32.19 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.3298, allocations: 51.78 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3299, allocations: 39.83 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.3299, allocations: 12 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.33, allocations: 27.97 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.33, allocations: 4 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.3301, allocations: 47.78 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3303, allocations: 111.6 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3303, allocations: 0 / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3303, allocations: 3.938 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3303, allocations: 0 / 1.323 GB, free: 0.8008 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005479/0.3309, allocations: 408.9 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3309, allocations: 15.98 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.331, allocations: 38.75 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.331, allocations: 8.891 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.3313, allocations: 212.2 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3313, allocations: 8.359 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3313, allocations: 8.375 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3315, allocations: 68.77 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3315, allocations: 7.938 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3315, allocations: 4 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3315, allocations: 0 / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.035e-05/0.3316, allocations: 23.92 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.3321, allocations: 493 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.164e-05/0.3322, allocations: 22.58 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.3322, allocations: 8.922 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.3322, allocations: 0 / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.3323, allocations: 63.31 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.3323, allocations: 4 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001839/0.3325, allocations: 65.62 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.3325, allocations: 55.41 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3327, allocations: 155.8 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.3327, allocations: 25.7 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.3328, allocations: 100.1 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.3328, allocations: 7.953 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.609e-05/0.3329, allocations: 29.7 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.333, allocations: 318.8 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.3331, allocations: 31.92 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/0.3332, allocations: 46.56 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3333, allocations: 80.27 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3333, allocations: 0 / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002776/0.3336, allocations: 155.2 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.3336, allocations: 37.69 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3336, allocations: 3.938 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3336, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.951e-05/0.3337, allocations: 12.03 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3337, allocations: 3.938 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.3339, allocations: 27.97 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.3339, allocations: 4 kB / 1.326 GB, free: 14 MB / 1.029 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 0.0001144/0.334, allocations: 123.6 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.3341, allocations: 7.953 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.3341, allocations: 4.25 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3341, allocations: 4 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3341, allocations: 7.938 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3341, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.3343, allocations: 173.6 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3343, allocations: 4.062 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-06/0.3343, allocations: 4 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3343, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.3343, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3343, allocations: 3.938 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3343, allocations: 3.938 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.3344, allocations: 93 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.3345, allocations: 85.06 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3345, allocations: 0 / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.805e-05/0.3345, allocations: 0 / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.3346, allocations: 3.938 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.3346, allocations: 7.984 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.324e-05/0.3347, allocations: 107.3 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3347, allocations: 0 / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002395/0.3349, allocations: 27.94 kB / 1.326 GB, free: 13.25 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: 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.0005137/0.3354, allocations: 0.6283 MB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.3356, allocations: 107.3 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3356, allocations: 0 / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.3357, allocations: 20.11 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3359, allocations: 14.98 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.3376, allocations: 1.505 MB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.338, allocations: 0.6982 MB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.338, allocations: 7.984 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.338, allocations: 27.42 kB / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.338, allocations: 0 / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3645, allocations: 2.413 MB / 1.332 GB, free: 7.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.558, allocations: 9.219 kB / 1.332 GB, free: 7.82 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.166583161102608]