Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002127/0.002127, allocations: 191.2 kB / 16.14 MB, free: 6.688 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002249, allocations: 69.97 kB / 0.9113 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3802, allocations: 159.9 MB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002298/0.3826, allocations: 0.7636 MB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009892/0.3836, allocations: 0.8429 MB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.3836, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.29e-05/0.3837, allocations: 3.938 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.827e-05/0.3838, allocations: 7.922 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.384, allocations: 27.97 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.169e-05/0.3841, allocations: 51.86 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3842, allocations: 19.98 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3843, allocations: 23.81 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.3844, allocations: 31.89 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3844, allocations: 4 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.3845, allocations: 0 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.3845, allocations: 7.938 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.3845, allocations: 23.86 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3847, allocations: 60.05 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3847, allocations: 4 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3847, allocations: 0 / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3847, allocations: 0 / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005485/0.3852, allocations: 371.3 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3853, allocations: 8.031 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.3853, allocations: 8.844 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.3856, allocations: 200.1 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3856, allocations: 4.375 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.3856, allocations: 8.375 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.3858, allocations: 58.22 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3858, allocations: 4.188 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3858, allocations: 3.938 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3858, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.3859, allocations: 27.98 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.3863, allocations: 300.8 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.3866, allocations: 66.53 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.3867, allocations: 21 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3867, allocations: 0 / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3867, allocations: 34.56 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3867, allocations: 7.938 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002553/0.387, allocations: 73.52 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.387, allocations: 51.41 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.3871, allocations: 121.8 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3872, allocations: 25.7 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.3872, allocations: 100.1 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.3872, allocations: 15.83 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.3873, allocations: 17.72 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.3874, allocations: 326.8 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.419e-05/0.3874, allocations: 12 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.3875, allocations: 25.7 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.617e-05/0.3876, allocations: 28.78 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3876, allocations: 8.031 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001384/0.3878, allocations: 61.67 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3878, allocations: 4 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3878, allocations: 4.328 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3878, allocations: 4 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/0.3879, allocations: 8 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3879, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.3879, allocations: 11.92 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.388, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (shaH.hys.y,$PRE.shaH.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.445e-05/0.388, allocations: 125.8 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3881, allocations: 7.906 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.3881, allocations: 7.891 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3881, allocations: 4 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3881, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3881, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3883, allocations: 173.6 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3883, allocations: 7.922 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.3884, allocations: 4 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3884, allocations: 8 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.3884, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3884, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3884, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3886, allocations: 159.4 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.3886, allocations: 77.11 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3886, allocations: 7.984 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.3887, allocations: 4 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.3888, allocations: 11.98 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.3888, allocations: 4 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.006e-05/0.3888, allocations: 95.2 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3889, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002385/0.3891, allocations: 15.84 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001124/0.3892, allocations: 103.2 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.3894, allocations: 39.97 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3894, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.696e-05/0.3895, allocations: 15.98 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3898, allocations: 7.938 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.3901, allocations: 173.7 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.3904, allocations: 0.6809 MB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.36e-05/0.3904, allocations: 4 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.3905, allocations: 15.42 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3905, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.003146/0.3936, allocations: 0.6046 MB / 1.074 GB, free: 4.285 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)