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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9859/0.988, allocations: 173.9 MB / 1.304 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002871/0.9908, allocations: 2.007 MB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.9928, allocations: 1.211 MB / 1.307 GB, free: 29.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.9929, allocations: 7.156 kB / 1.307 GB, free: 29.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.9934, allocations: 155.8 kB / 1.307 GB, free: 29.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.9938, allocations: 158.8 kB / 1.307 GB, free: 29.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.9943, allocations: 228.8 kB / 1.308 GB, free: 29.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.9946, allocations: 316.1 kB / 1.308 GB, free: 29.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.9948, allocations: 39.08 kB / 1.308 GB, free: 29.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.995, allocations: 150.8 kB / 1.308 GB, free: 29.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.9952, allocations: 161.2 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.9952, allocations: 13.47 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.9953, allocations: 55.56 kB / 1.308 GB, free: 29.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.9954, allocations: 100.6 kB / 1.308 GB, free: 29.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.9955, allocations: 117.9 kB / 1.309 GB, free: 29.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.9959, allocations: 372.5 kB / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.9959, allocations: 4 kB / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9959, allocations: 0 / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.9959, allocations: 0 / 1.309 GB, free: 28.93 MB / 1.061 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.0009247/0.9968, allocations: 0.6252 MB / 1.31 GB, free: 28.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9969, allocations: 11.47 kB / 1.31 GB, free: 28.39 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.9969, allocations: 40.83 kB / 1.31 GB, free: 28.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.997, allocations: 34.55 kB / 1.31 GB, free: 28.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.9974, allocations: 387.4 kB / 1.31 GB, free: 28.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.9974, allocations: 6.844 kB / 1.31 GB, free: 28.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.9975, allocations: 5.719 kB / 1.31 GB, free: 28.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.9977, allocations: 114.3 kB / 1.31 GB, free: 27.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.9977, allocations: 6.688 kB / 1.31 GB, free: 27.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.9977, allocations: 4 kB / 1.31 GB, free: 27.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.9977, allocations: 2.969 kB / 1.31 GB, free: 27.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.9979, allocations: 58.88 kB / 1.31 GB, free: 27.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.9986, allocations: 498.4 kB / 1.311 GB, free: 27.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.9989, allocations: 129.1 kB / 1.311 GB, free: 27.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.999, allocations: 45.12 kB / 1.311 GB, free: 27.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.999, allocations: 18.14 kB / 1.311 GB, free: 27.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.9992, allocations: 110.4 kB / 1.311 GB, free: 27.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.9992, allocations: 2.875 kB / 1.311 GB, free: 27.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0004728/0.9997, allocations: 223.8 kB / 1.311 GB, free: 27.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.9997, allocations: 57.75 kB / 1.311 GB, free: 27.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/1, allocations: 0.5007 MB / 1.312 GB, free: 27.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/1, allocations: 36.42 kB / 1.312 GB, free: 27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/1, allocations: 166.4 kB / 1.312 GB, free: 26.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/1, allocations: 32.89 kB / 1.312 GB, free: 26.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/1, allocations: 77.02 kB / 1.312 GB, free: 26.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/1, allocations: 342.5 kB / 1.312 GB, free: 26.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/1.001, allocations: 104.5 kB / 1.312 GB, free: 26.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/1.001, allocations: 131.1 kB / 1.313 GB, free: 26.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/1.001, allocations: 191.7 kB / 1.313 GB, free: 26.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.001, allocations: 0 / 1.313 GB, free: 26.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004617/1.002, allocations: 313 kB / 1.313 GB, free: 26.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.002, allocations: 12.98 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.002, allocations: 2.906 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.002, allocations: 4.062 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/1.002, allocations: 50.98 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.002, allocations: 2.844 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/1.002, allocations: 20.84 kB / 1.313 GB, free: 26.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/1.002, allocations: 12.88 kB / 1.313 GB, free: 26.12 MB / 1.061 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.0001454/1.002, allocations: 188 kB / 1.313 GB, free: 25.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/1.002, allocations: 37.61 kB / 1.313 GB, free: 25.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.527e-05/1.002, allocations: 33.23 kB / 1.313 GB, free: 25.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.002, allocations: 6.531 kB / 1.313 GB, free: 25.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.002, allocations: 3.938 kB / 1.313 GB, free: 25.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.002, allocations: 3.375 kB / 1.313 GB, free: 25.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/1.002, allocations: 307.5 kB / 1.314 GB, free: 25.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.002, allocations: 0 / 1.314 GB, free: 25.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.968e-05/1.003, allocations: 13.61 kB / 1.314 GB, free: 25.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/1.003, allocations: 7.875 kB / 1.314 GB, free: 25.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/1.003, allocations: 6.562 kB / 1.314 GB, free: 25.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.003, allocations: 0 / 1.314 GB, free: 25.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.003, allocations: 2.438 kB / 1.314 GB, free: 25.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/1.003, allocations: 212.3 kB / 1.314 GB, free: 25.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.473e-05/1.003, allocations: 119.8 kB / 1.314 GB, free: 25.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/1.003, allocations: 5.797 kB / 1.314 GB, free: 25.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/1.003, allocations: 6.625 kB / 1.314 GB, free: 25.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/1.003, allocations: 16.12 kB / 1.314 GB, free: 25.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/1.003, allocations: 8.656 kB / 1.314 GB, free: 25.42 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002676/1.003, allocations: 312.2 kB / 1.314 GB, free: 25.28 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.003, allocations: 4 kB / 1.314 GB, free: 25.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002881/1.004, allocations: 60.3 kB / 1.314 GB, free: 25.26 MB / 1.061 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.001881/1.006, allocations: 1.061 MB / 1.315 GB, free: 24.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003592/1.006, allocations: 183.2 kB / 1.316 GB, free: 24.45 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.006, allocations: 0 / 1.316 GB, free: 24.45 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/1.006, allocations: 57.64 kB / 1.316 GB, free: 24.44 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/1.007, allocations: 101.9 kB / 1.316 GB, free: 24.4 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/1.01, allocations: 3.111 MB / 1.319 GB, free: 22.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/1.01, allocations: 0.7827 MB / 1.32 GB, free: 21.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000144/1.01, allocations: 52.33 kB / 1.32 GB, free: 21.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/1.01, allocations: 109.9 kB / 1.32 GB, free: 21.84 MB / 1.061 GB Notification: Performance of SimCode: time 7.71e-07/1.01, allocations: 0 / 1.32 GB, free: 21.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/1.041, allocations: 7.188 MB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.87/9.911, allocations: 5.469 kB / 1.327 GB, free: 20.85 MB / 1.061 GB " [Timeout remaining time 290] (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/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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.547412026673555]