Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 106.1 kB / 15.98 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 196.4 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 482.4 MB / 0.755 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 71.45 kB / 0.924 GB, free: 29.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2917, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002326/0.294, allocations: 0.9055 MB / 1.083 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.2957, allocations: 1.174 MB / 1.084 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.2958, allocations: 7.938 kB / 1.084 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.296, allocations: 15.86 kB / 1.084 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.296, allocations: 15.91 kB / 1.085 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.2966, allocations: 127 kB / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.2968, allocations: 175.6 kB / 1.085 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2969, allocations: 45.36 kB / 1.085 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.319e-05/0.297, allocations: 67.77 kB / 1.085 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.646e-05/0.2971, allocations: 43.77 kB / 1.085 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.2972, allocations: 16 kB / 1.085 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.202e-05/0.2973, allocations: 24 kB / 1.085 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.2973, allocations: 15.92 kB / 1.085 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.978e-05/0.2974, allocations: 63.7 kB / 1.085 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.2976, allocations: 128 kB / 1.085 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2976, allocations: 0 / 1.085 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2976, allocations: 7.938 kB / 1.085 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2976, allocations: 4 kB / 1.085 GB, free: 10.78 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005796/0.2982, allocations: 424.8 kB / 1.086 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2982, allocations: 12.03 kB / 1.086 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.2983, allocations: 8.844 kB / 1.086 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.2986, allocations: 228 kB / 1.086 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2986, allocations: 4.375 kB / 1.086 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.2986, allocations: 8.375 kB / 1.086 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.2988, allocations: 92.69 kB / 1.086 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2988, allocations: 192 / 1.086 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2988, allocations: 3.938 kB / 1.086 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.2988, allocations: 4 kB / 1.086 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.477e-05/0.2989, allocations: 27.92 kB / 1.086 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.2995, allocations: 0.536 MB / 1.086 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.664e-05/0.2996, allocations: 26.58 kB / 1.087 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.2996, allocations: 16.91 kB / 1.087 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.2997, allocations: 0 / 1.087 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.2998, allocations: 63.33 kB / 1.087 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2998, allocations: 0 / 1.087 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002179/0.3, allocations: 81.59 kB / 1.087 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3001, allocations: 51.41 kB / 1.087 GB, free: 9 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderInteger.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3003, allocations: 180.8 kB / 1.087 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3003, allocations: 29.7 kB / 1.087 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.3004, allocations: 104.1 kB / 1.087 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.3004, allocations: 11.91 kB / 1.087 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.3005, allocations: 29.7 kB / 1.087 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3007, allocations: 318.8 kB / 1.087 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-05/0.3008, allocations: 55.84 kB / 1.087 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.3009, allocations: 50.56 kB / 1.087 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.301, allocations: 88.27 kB / 1.088 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.301, allocations: 0 / 1.088 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003002/0.3013, allocations: 175.2 kB / 1.088 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.3014, allocations: 41.69 kB / 1.088 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3014, allocations: 4 kB / 1.088 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3014, allocations: 7.938 kB / 1.088 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.908e-05/0.3014, allocations: 4 kB / 1.088 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3015, allocations: 80 / 1.088 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.3017, allocations: 31.91 kB / 1.088 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.3017, allocations: 11.97 kB / 1.088 GB, free: 7.797 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001099/0.3018, allocations: 121.8 kB / 1.088 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.3018, allocations: 7.906 kB / 1.088 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.3019, allocations: 16.92 kB / 1.088 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3019, allocations: 0 / 1.088 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3019, allocations: 0 / 1.088 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3019, allocations: 4.172 kB / 1.088 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.3021, allocations: 189.6 kB / 1.088 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3021, allocations: 0 / 1.088 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.3021, allocations: 4 kB / 1.088 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3021, allocations: 3.984 kB / 1.088 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3021, allocations: 4 kB / 1.088 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3021, allocations: 0 / 1.088 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3021, allocations: 0 / 1.088 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.3023, allocations: 104.8 kB / 1.088 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.3023, allocations: 85.02 kB / 1.088 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3024, allocations: 0 / 1.088 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.3024, allocations: 0 / 1.088 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.3024, allocations: 7.938 kB / 1.088 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3024, allocations: 7.984 kB / 1.088 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001121/0.3026, allocations: 130.1 kB / 1.088 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3026, allocations: 0 / 1.088 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002143/0.3028, allocations: 16 kB / 1.088 GB, free: 7.016 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.00015/0.3029, allocations: 107.2 kB / 1.089 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.3032, allocations: 139.3 kB / 1.089 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3032, allocations: 0 / 1.089 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.3032, allocations: 20.12 kB / 1.089 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.3035, allocations: 23.92 kB / 1.089 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.3039, allocations: 240.2 kB / 1.089 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.3042, allocations: 0.7001 MB / 1.09 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.3043, allocations: 11.44 kB / 1.09 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3043, allocations: 0 / 1.09 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of Templates: time 0.00341/0.3077, allocations: 1.454 MB / 1.091 GB, free: 4.266 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches