Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.001281/0.001281, 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.00118/0.00118, allocations: 188.4 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.508/1.508, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.742/1.742, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001469/0.001469, allocations: 71.77 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2542, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004222/0.2585, allocations: 1.986 MB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.2608, allocations: 1.106 MB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.261, allocations: 7.938 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005202/0.2616, allocations: 163.5 kB / 0.7868 GB, free: 9.961 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.262, allocations: 155.3 kB / 0.787 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.2625, allocations: 187.1 kB / 0.7872 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.2629, allocations: 323.2 kB / 0.7875 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.2631, allocations: 40.66 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.2633, allocations: 143.4 kB / 0.7876 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.2635, allocations: 151.4 kB / 0.7878 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.2636, allocations: 12 kB / 0.7878 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.2637, allocations: 55.97 kB / 0.7879 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2639, allocations: 91.67 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.264, allocations: 119.2 kB / 0.7881 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004565/0.2645, allocations: 374.6 kB / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2645, allocations: 0 / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2645, allocations: 0 / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.2645, allocations: 0 / 0.7884 GB, free: 8.344 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00115/0.2657, allocations: 0.6185 MB / 0.789 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.2657, allocations: 15.91 kB / 0.789 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.2659, allocations: 42.73 kB / 0.7891 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.539e-05/0.266, allocations: 36.47 kB / 0.7891 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.2665, allocations: 370.5 kB / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.2666, allocations: 12.12 kB / 0.7895 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.2666, allocations: 8 kB / 0.7895 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.2669, allocations: 109.5 kB / 0.7896 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2669, allocations: 4 kB / 0.7896 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.2669, allocations: 7.984 kB / 0.7896 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2669, allocations: 0 / 0.7896 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.2671, allocations: 63.91 kB / 0.7897 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.268, allocations: 492.4 kB / 0.7901 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.2684, allocations: 138.7 kB / 0.7903 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2685, allocations: 52.83 kB / 0.7903 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.2686, allocations: 0 / 0.7903 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.2688, allocations: 107.3 kB / 0.7904 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.2688, allocations: 0 / 0.7904 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005792/0.2694, allocations: 233.2 kB / 0.7906 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.2695, allocations: 55.39 kB / 0.7907 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.2701, allocations: 0.4977 MB / 0.7912 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.2701, allocations: 37.64 kB / 0.7912 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.2703, allocations: 172.3 kB / 0.7914 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.2703, allocations: 35.59 kB / 0.7914 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2704, allocations: 65.97 kB / 0.7915 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2706, allocations: 350.8 kB / 0.7918 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2708, allocations: 100.5 kB / 0.7919 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.271, allocations: 131.6 kB / 0.792 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.2713, allocations: 182.5 kB / 0.7922 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2713, allocations: 4 kB / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005126/0.2719, allocations: 325.1 kB / 0.7925 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2719, allocations: 4 kB / 0.7925 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2719, allocations: 0 / 0.7925 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2719, allocations: 7.938 kB / 0.7925 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.2721, allocations: 51.91 kB / 0.7926 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2722, allocations: 7.984 kB / 0.7926 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2723, allocations: 15.84 kB / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.2723, allocations: 12.05 kB / 0.7926 GB, free: 3.793 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001847/0.2725, allocations: 185.8 kB / 0.7928 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.2726, allocations: 27.62 kB / 0.7928 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.2727, allocations: 39.06 kB / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2727, allocations: 3.938 kB / 0.7929 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2727, allocations: 0 / 0.7929 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.2727, allocations: 7.984 kB / 0.7929 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.273, allocations: 297.4 kB / 0.7931 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.273, allocations: 0 / 0.7931 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.2731, allocations: 19.98 kB / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2731, allocations: 0 / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.2731, allocations: 0 / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.2732, allocations: 15.81 kB / 0.7932 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2732, allocations: 0 / 0.7932 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.2736, allocations: 211.8 kB / 0.7934 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.2737, allocations: 112.7 kB / 0.7935 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.2737, allocations: 4 kB / 0.7935 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.2738, allocations: 15.94 kB / 0.7935 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.2739, allocations: 15.97 kB / 0.7935 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.2739, allocations: 12 kB / 0.7935 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003552/0.2743, allocations: 315.1 kB / 0.7938 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2743, allocations: 0 / 0.7938 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003028/0.2746, allocations: 52 kB / 0.7939 GB, free: 2.391 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001711/0.2763, allocations: 1.063 MB / 0.7949 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004563/0.2768, allocations: 196.1 kB / 0.7951 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2768, allocations: 0 / 0.7951 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.277, allocations: 63.91 kB / 0.7952 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.2775, allocations: 91.17 kB / 0.7953 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.2814, allocations: 3.106 MB / 0.7983 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.2818, allocations: 0.7909 MB / 0.7991 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.282, allocations: 54.94 kB / 0.7991 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.2822, allocations: 103.4 kB / 0.7992 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of SimCode: time 9.61e-07/0.2822, allocations: 0 / 0.7992 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.3072, allocations: 7.072 MB / 0.8061 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.454, allocations: 12.47 kB / 0.8061 GB, free: 6.008 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)