Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002146/0.002147, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 292.3 MB / 0.549 GB, free: 12.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 66.5 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2641, allocations: 114.5 MB / 0.7837 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.003897/0.2681, allocations: 1.215 MB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007911/0.2689, allocations: 235.8 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.269, allocations: 11.94 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.2694, allocations: 115.2 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.2697, allocations: 63.8 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.2699, allocations: 83.89 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.271, allocations: 0.7298 MB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.2739, allocations: 1.958 MB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007388/0.2747, allocations: 0.5533 MB / 0.7885 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009521/0.2757, allocations: 0.6893 MB / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.2759, allocations: 116 kB / 0.7893 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.2762, allocations: 116 kB / 0.7894 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009226/0.2771, allocations: 0.7288 MB / 0.7901 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.2782, allocations: 0.8198 MB / 0.7909 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002788/0.281, allocations: 2.562 MB / 0.7934 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.441e-05/0.281, allocations: 3.984 kB / 0.7934 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.918e-06/0.281, allocations: 0 / 0.7934 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.186e-05/0.2811, allocations: 4 kB / 0.7934 GB, free: 3.16 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.00271/0.2839, allocations: 1.854 MB / 0.7952 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.2839, allocations: 12.03 kB / 0.7952 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003368/0.2843, allocations: 315.5 kB / 0.7955 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.2846, allocations: 194.6 kB / 0.7957 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.286, allocations: 0.961 MB / 0.7967 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.2861, allocations: 152.5 kB / 0.7968 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.2864, allocations: 196.4 kB / 0.797 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003751/0.2902, allocations: 2.798 MB / 0.7997 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.61e-05/0.2902, allocations: 15.81 kB / 0.7997 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.2904, allocations: 92 kB / 0.7998 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/0.2905, allocations: 56 kB / 0.7999 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.2928, allocations: 1.639 MB / 0.8015 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008291/0.3011, allocations: 10.47 MB / 0.8117 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3012, allocations: 173.1 kB / 0.8119 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.3013, allocations: 92.08 kB / 0.812 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.3013, allocations: 75.28 kB / 0.812 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/0.3014, allocations: 109.8 kB / 0.8121 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.3014, allocations: 0 / 0.8121 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001368/0.3015, allocations: 77.05 kB / 0.8122 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.3016, allocations: 126.7 kB / 0.8123 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008817/0.3025, allocations: 0.9204 MB / 0.8132 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.3025, allocations: 25.7 kB / 0.8132 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000489/0.303, allocations: 0.843 MB / 0.8141 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.303, allocations: 15.98 kB / 0.8141 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.3033, allocations: 271 kB / 0.8143 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3034, allocations: 374.8 kB / 0.8147 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.3036, allocations: 137.2 kB / 0.8148 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.3041, allocations: 0.5873 MB / 0.8154 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007169/0.3048, allocations: 0.7688 MB / 0.8162 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3048, allocations: 4 kB / 0.8162 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009108/0.3057, allocations: 0.7006 MB / 0.8168 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3057, allocations: 20.06 kB / 0.8169 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.3058, allocations: 16 kB / 0.8169 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.3058, allocations: 23.94 kB / 0.8169 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.306, allocations: 87.77 kB / 0.817 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/0.3061, allocations: 31.86 kB / 0.817 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.3064, allocations: 87.06 kB / 0.8171 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.3064, allocations: 40 kB / 0.8171 GB, free: 9.547 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 45 (booInp[9,5].y,booInp[9,4].y,booInp[9,3].y,booInp[9,2].y,booInp[9,1].y,booInp[8,5].y,booInp[8,4].y,booInp[8,3].y,booInp[8,2].y,booInp[8,1].y,booInp[7,5].y,booInp[7,4].y,booInp[7,3].y,booInp[7,2].y,booInp[7,1].y,booInp[6,5].y,booInp[6,4].y,booInp[6,3].y,booInp[6,2].y,booInp[6,1].y,booInp[5,5].y,booInp[5,4].y,booInp[5,3].y,booInp[5,2].y,booInp[5,1].y,booInp[4,5].y,booInp[4,4].y,booInp[4,3].y,booInp[4,2].y,booInp[4,1].y,booInp[3,5].y,booInp[3,4].y,booInp[3,3].y,booInp[3,2].y,booInp[3,1].y,booInp[2,5].y,booInp[2,4].y,booInp[2,3].y,booInp[2,2].y,booInp[2,1].y,booInp[1,5].y,booInp[1,4].y,booInp[1,3].y,booInp[1,2].y,booInp[1,1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0008043/0.3072, allocations: 0.7652 MB / 0.8179 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.3073, allocations: 152.3 kB / 0.818 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.3074, allocations: 173.3 kB / 0.8182 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.689e-05/0.3075, allocations: 184.2 kB / 0.8184 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.485e-05/0.3076, allocations: 176.3 kB / 0.8185 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-05/0.3076, allocations: 180.2 kB / 0.8187 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.3091, allocations: 1.608 MB / 0.8203 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.463e-05/0.3091, allocations: 101 kB / 0.8204 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.3092, allocations: 108.9 kB / 0.8205 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.772e-05/0.3092, allocations: 184.2 kB / 0.8207 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.3093, allocations: 184.2 kB / 0.8208 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.714e-05/0.3094, allocations: 176.3 kB / 0.821 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-05/0.3094, allocations: 184.2 kB / 0.8212 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.3096, allocations: 363 kB / 0.8215 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.3098, allocations: 221.4 kB / 0.8217 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.076e-05/0.3099, allocations: 176.3 kB / 0.8219 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.31, allocations: 116.9 kB / 0.822 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.31, allocations: 184.2 kB / 0.8222 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.3101, allocations: 105.3 kB / 0.8223 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005109/0.3106, allocations: 0.4951 MB / 0.8228 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3106, allocations: 0 / 0.8228 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000794/0.3114, allocations: 329.3 kB / 0.8231 GB, free: 3.219 MB / 0.6387 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.0005405/0.312, allocations: 0.8627 MB / 0.8239 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.3124, allocations: 298.9 kB / 0.8242 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3124, allocations: 1 kB / 0.8242 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-06/0.3124, allocations: 3.984 kB / 0.8242 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.313, allocations: 0.49 MB / 0.8247 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00697/0.3199, allocations: 6.825 MB / 0.8314 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.321, allocations: 1.395 MB / 0.8327 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000425/0.3214, allocations: 292.5 kB / 0.833 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/0.3219, allocations: 0.5149 MB / 0.8335 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.3219, allocations: 0 / 0.8335 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.3524, allocations: 12.4 MB / 0.8456 GB, free: 11.73 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/8.6, allocations: 9.391 kB / 0.8456 GB, free: 11.72 MB / 0.67 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1)