Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",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.0009472/0.0009469, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009268/0.0009268, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.572/2.572, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003907, allocations: 16 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7479, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002129/0.75, allocations: 1.66 MB / 0.9828 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.7516, allocations: 1.124 MB / 0.9839 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.7518, allocations: 3.938 kB / 0.9839 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.7522, allocations: 143.6 kB / 0.984 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.7524, allocations: 131.5 kB / 0.9841 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.7529, allocations: 178.9 kB / 0.9843 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.7532, allocations: 263.2 kB / 0.9845 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.7534, allocations: 44.38 kB / 0.9846 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.7536, allocations: 119.4 kB / 0.9847 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.7537, allocations: 131.4 kB / 0.9848 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.7538, allocations: 8 kB / 0.9848 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.7539, allocations: 43.97 kB / 0.9849 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.754, allocations: 83.72 kB / 0.985 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.7541, allocations: 65.52 kB / 0.985 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.7544, allocations: 281.5 kB / 0.9853 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7544, allocations: 0 / 0.9853 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.003e-06/0.7544, allocations: 0 / 0.9853 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7544, allocations: 0 / 0.9853 GB, free: 1.996 MB / 0.7325 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.0008297/0.7552, allocations: 0.5835 MB / 0.9859 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.7553, allocations: 12.03 kB / 0.9859 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.493e-05/0.7553, allocations: 42.48 kB / 0.9859 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.7554, allocations: 31.62 kB / 0.9859 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.7559, allocations: 349.3 kB / 0.9863 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.756, allocations: 7.984 kB / 0.9863 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.756, allocations: 15.98 kB / 0.9863 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.7562, allocations: 107 kB / 0.9864 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7563, allocations: 0 / 0.9864 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.7563, allocations: 7.938 kB / 0.9864 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.7563, allocations: 4 kB / 0.9864 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.7565, allocations: 63.86 kB / 0.9865 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007699/0.7572, allocations: 496.5 kB / 0.9869 GB, free: 148 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.7576, allocations: 134.7 kB / 0.9871 GB, free: 4 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.7577, allocations: 48.83 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.7578, allocations: 7.922 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.758, allocations: 115.3 kB / 0.9872 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.684e-06/0.7581, allocations: 0 / 0.9872 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0004965/0.7586, allocations: 219.9 kB / 0.9874 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.7586, allocations: 51.41 kB / 0.9875 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.7591, allocations: 0.5092 MB / 0.988 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.7592, allocations: 33.7 kB / 0.988 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.7593, allocations: 168.3 kB / 0.9882 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.7594, allocations: 35.64 kB / 0.9882 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.7594, allocations: 4 kB / 0.9882 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.7596, allocations: 350.8 kB / 0.9886 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.7597, allocations: 96.52 kB / 0.9887 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.76, allocations: 135.6 kB / 0.9888 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.7602, allocations: 108 kB / 0.9889 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.7602, allocations: 3.938 kB / 0.9889 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004936/0.7607, allocations: 317.1 kB / 0.9892 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.7607, allocations: 4 kB / 0.9892 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7607, allocations: 4 kB / 0.9892 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7607, allocations: 0 / 0.9892 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.7609, allocations: 55.91 kB / 0.9893 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.761, allocations: 0 / 0.9893 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.7611, allocations: 27.89 kB / 0.9893 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.7611, allocations: 8 kB / 0.9893 GB, free: 13.66 MB / 0.7481 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.7614, allocations: 185.7 kB / 0.9895 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.7614, allocations: 35.61 kB / 0.9895 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.879e-05/0.7615, allocations: 39.12 kB / 0.9895 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.7615, allocations: 0 / 0.9895 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.7615, allocations: 0 / 0.9895 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7615, allocations: 0 / 0.9895 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.7619, allocations: 309.3 kB / 0.9898 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.7619, allocations: 4 kB / 0.9898 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.762, allocations: 15.94 kB / 0.9898 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.762, allocations: 0 / 0.9898 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.762, allocations: 3.984 kB / 0.9899 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.762, allocations: 4 kB / 0.9899 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.762, allocations: 0 / 0.9899 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.7625, allocations: 208.6 kB / 0.9901 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.7626, allocations: 112.7 kB / 0.9902 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.7627, allocations: 11.98 kB / 0.9902 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.7628, allocations: 4 kB / 0.9902 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.7629, allocations: 23.95 kB / 0.9902 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.7629, allocations: 8 kB / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003687/0.7633, allocations: 311.1 kB / 0.9905 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7633, allocations: 0 / 0.9905 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003372/0.7636, allocations: 67.83 kB / 0.9906 GB, free: 12.26 MB / 0.7481 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,product.y,reaToInt1.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001595/0.7652, allocations: 1.064 MB / 0.9916 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004368/0.7657, allocations: 184.9 kB / 0.9918 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7657, allocations: 128 / 0.9918 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.7658, allocations: 71.84 kB / 0.9919 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.7663, allocations: 80.86 kB / 0.9919 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.77, allocations: 2.069 MB / 0.994 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.7705, allocations: 0.7792 MB / 0.9947 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.7707, allocations: 54.94 kB / 0.9948 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.7709, allocations: 107.4 kB / 0.9949 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of SimCode: time 8.01e-07/0.7709, allocations: 0 / 0.9949 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.7928, allocations: 6.99 MB / 1.002 GB, free: 1.109 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.7931, allocations: 228.2 kB / 1.002 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.757, allocations: 0 / 1.002 GB, free: 0.875 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat does not exist to compare? outputFormat=mat