Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_10_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.007616/0.007616, allocations: 99.53 kB / 15.73 MB, free: 6.496 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.002164/0.002164, allocations: 196 kB / 16.68 MB, free: 6.375 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 437.1 MB / 0.7106 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 64.09 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2603, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003338/0.2637, allocations: 2 MB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.2656, allocations: 1.197 MB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.2657, allocations: 7.938 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003917/0.2661, allocations: 159.5 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.2664, allocations: 155.3 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.2669, allocations: 227 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.2672, allocations: 323.1 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.2674, allocations: 48.38 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.2676, allocations: 143.4 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.2678, allocations: 143.4 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.2678, allocations: 15.98 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.2679, allocations: 59.97 kB / 1.171 GB, free: 2.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.268, allocations: 91.61 kB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.2682, allocations: 115.2 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.2685, allocations: 370.6 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2686, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.91e-07/0.2686, allocations: 4 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2686, allocations: 0 / 1.171 GB, free: 2.219 MB / 0.92 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.0008712/0.2695, allocations: 0.6416 MB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2695, allocations: 12.03 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.2695, allocations: 34.75 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.2696, allocations: 32.75 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.2701, allocations: 378 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2701, allocations: 15.98 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.2701, allocations: 15.94 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.2703, allocations: 97.62 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2704, allocations: 4 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.2704, allocations: 4 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2704, allocations: 0 / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.2705, allocations: 63.86 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.2712, allocations: 0.4926 MB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.2716, allocations: 134.7 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.2717, allocations: 48.83 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.2717, allocations: 4 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.272, allocations: 115.3 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.272, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0004938/0.2725, allocations: 228.9 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.2725, allocations: 51.41 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.2731, allocations: 0.5093 MB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.2731, allocations: 25.7 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.2732, allocations: 176.4 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.2733, allocations: 35.75 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.2734, allocations: 73.91 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2735, allocations: 346.8 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.2737, allocations: 104.4 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.2739, allocations: 135.6 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.2743, allocations: 183.5 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2743, allocations: 0 / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005069/0.2748, allocations: 321.3 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2748, allocations: 11.92 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2748, allocations: 0 / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2748, allocations: 4 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.275, allocations: 59.97 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2751, allocations: 0 / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.2752, allocations: 23.94 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.2752, allocations: 11.98 kB / 1.175 GB, free: 13.63 MB / 0.9356 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,reaToInt2.y,reaToInt1.y,product.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.0001702/0.2754, allocations: 185.6 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.2754, allocations: 39.7 kB / 1.176 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.2755, allocations: 35.12 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2755, allocations: 4 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2755, allocations: 4 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2755, allocations: 0 / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.2758, allocations: 293.5 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2758, allocations: 7.938 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.2759, allocations: 11.98 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2759, allocations: 3.938 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2759, allocations: 4 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2759, allocations: 0 / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2759, allocations: 0 / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.2763, allocations: 216.8 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/0.2764, allocations: 116.9 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.2764, allocations: 7.984 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.2765, allocations: 4 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.2766, allocations: 19.97 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.2766, allocations: 8 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003215/0.2769, allocations: 315.1 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2769, allocations: 3.938 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002536/0.2772, allocations: 59.89 kB / 1.177 GB, free: 12.23 MB / 0.9356 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 (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.001929/0.2791, allocations: 1.062 MB / 1.178 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003921/0.2795, allocations: 199.8 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2796, allocations: 0 / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.2797, allocations: 63.91 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.2801, allocations: 95.73 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.2837, allocations: 3.121 MB / 1.181 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.2841, allocations: 0.7792 MB / 1.182 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.2842, allocations: 58.89 kB / 1.182 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.2844, allocations: 115.4 kB / 1.182 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.2844, allocations: 0 / 1.182 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.479/5.764, allocations: 7.144 MB / 1.189 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/20.66, allocations: 9.234 kB / 1.189 GB, free: 15.77 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches