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.0012/0.0012, allocations: 108 kB / 15.6 MB, free: 132 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.001461/0.001462, allocations: 199.5 kB / 16.54 MB, free: 6.672 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.582/1.582, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.77/1.77, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001487/0.001488, allocations: 72.28 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2356, allocations: 114.5 MB / 0.7835 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004569/0.2402, allocations: 2.002 MB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.2422, allocations: 1.098 MB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.2424, allocations: 7.938 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004821/0.2429, allocations: 163.5 kB / 0.7867 GB, free: 10.03 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.0003819/0.2433, allocations: 159.3 kB / 0.7868 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.2439, allocations: 186.2 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.2443, allocations: 311.2 kB / 0.7873 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.2445, allocations: 48.66 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.2446, allocations: 143.4 kB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.2448, allocations: 147.4 kB / 0.7876 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.2449, allocations: 12 kB / 0.7876 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.245, allocations: 63.92 kB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.677e-05/0.2451, allocations: 87.72 kB / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.2452, allocations: 119.2 kB / 0.7879 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.2456, allocations: 358.8 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2456, allocations: 7.922 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2456, allocations: 4 kB / 0.7882 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.2456, allocations: 0 / 0.7882 GB, free: 8.418 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.0009488/0.2466, allocations: 0.6224 MB / 0.7889 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2466, allocations: 12.03 kB / 0.7889 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.2467, allocations: 38.73 kB / 0.7889 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.2468, allocations: 36.47 kB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.2472, allocations: 362.5 kB / 0.7893 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2473, allocations: 16.06 kB / 0.7893 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.2473, allocations: 12 kB / 0.7893 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.2476, allocations: 110.5 kB / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2476, allocations: 0 / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.2476, allocations: 4 kB / 0.7894 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2476, allocations: 0 / 0.7894 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.2478, allocations: 67.89 kB / 0.7895 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007673/0.2485, allocations: 0.4926 MB / 0.79 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.2489, allocations: 126.7 kB / 0.7901 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.249, allocations: 52.83 kB / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.2491, allocations: 4 kB / 0.7901 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.2493, allocations: 119.3 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.2493, allocations: 0 / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005336/0.2498, allocations: 228.4 kB / 0.7905 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.2499, allocations: 55.41 kB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.2504, allocations: 0.4977 MB / 0.791 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.2504, allocations: 33.7 kB / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2506, allocations: 176.3 kB / 0.7912 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.2506, allocations: 31.61 kB / 0.7912 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-05/0.2507, allocations: 69.97 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2509, allocations: 342.8 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.251, allocations: 100.5 kB / 0.7917 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.2512, allocations: 135.6 kB / 0.7919 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.2515, allocations: 186.4 kB / 0.792 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2516, allocations: 0 / 0.792 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004846/0.252, allocations: 321.1 kB / 0.7923 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2521, allocations: 4 kB / 0.7923 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2521, allocations: 4.062 kB / 0.7924 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2521, allocations: 7.938 kB / 0.7924 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.2523, allocations: 55.91 kB / 0.7924 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.2524, allocations: 0 / 0.7924 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.2525, allocations: 23.77 kB / 0.7924 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.2525, allocations: 12 kB / 0.7924 GB, free: 3.867 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.0001605/0.2527, allocations: 177.8 kB / 0.7926 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.2527, allocations: 31.62 kB / 0.7926 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.736e-05/0.2528, allocations: 39.12 kB / 0.7927 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2529, allocations: 3.938 kB / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2529, allocations: 3.984 kB / 0.7927 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2529, allocations: 4 kB / 0.7927 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.2531, allocations: 293.4 kB / 0.793 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2531, allocations: 0 / 0.793 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.2532, allocations: 15.98 kB / 0.793 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2532, allocations: 0 / 0.793 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.2532, allocations: 7.984 kB / 0.793 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.2532, allocations: 11.88 kB / 0.793 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2533, allocations: 4 kB / 0.793 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.2536, allocations: 204.6 kB / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/0.2537, allocations: 112.7 kB / 0.7933 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.2538, allocations: 8 kB / 0.7933 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.2539, allocations: 11.92 kB / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.254, allocations: 11.98 kB / 0.7933 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.254, allocations: 12 kB / 0.7934 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003155/0.2543, allocations: 319.1 kB / 0.7937 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2543, allocations: 0 / 0.7937 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002844/0.2546, allocations: 51.98 kB / 0.7937 GB, free: 2.473 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.001458/0.2561, allocations: 1.063 MB / 0.7948 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004182/0.2565, allocations: 208.5 kB / 0.795 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2565, allocations: 0 / 0.795 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2567, allocations: 56.72 kB / 0.795 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.2571, allocations: 93.94 kB / 0.7951 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.2608, allocations: 3.13 MB / 0.7982 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.2613, allocations: 0.7908 MB / 0.7989 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001671/0.2614, allocations: 50.95 kB / 0.799 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.2616, allocations: 111.3 kB / 0.7991 GB, free: 13 MB / 0.6231 GB Notification: Performance of SimCode: time 2.214e-06/0.2616, allocations: 0 / 0.7991 GB, free: 13 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.2854, allocations: 7.059 MB / 0.806 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.505, allocations: 3.719 kB / 0.806 GB, free: 6.062 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)