Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008667/0.0008667, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9108/0.9108, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.701/1.701, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.057e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00331/0.003331, allocations: 1.971 MB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.004799, allocations: 1.286 MB / 0.9537 GB, free: 204 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.004907, allocations: 4 kB / 0.9537 GB, free: 200 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.005252, allocations: 163.3 kB / 0.9539 GB, free: 36 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.005599, allocations: 211.2 kB / 0.9541 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.005825, allocations: 163.5 kB / 0.9542 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.006111, allocations: 347 kB / 0.9545 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.006234, allocations: 28.92 kB / 0.9546 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.006419, allocations: 187.5 kB / 0.9547 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.006567, allocations: 151.6 kB / 0.9549 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.006592, allocations: 16 kB / 0.9549 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.006687, allocations: 59.89 kB / 0.955 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.006767, allocations: 99.67 kB / 0.9551 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.006827, allocations: 71.66 kB / 0.9551 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.007132, allocations: 378.7 kB / 0.9555 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.007134, allocations: 0 / 0.9555 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007135, allocations: 0 / 0.9555 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.007151, allocations: 0 / 0.9555 GB, free: 14.35 MB / 0.9167 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.0006689/0.00782, allocations: 0.574 MB / 0.9561 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.007852, allocations: 12.03 kB / 0.9561 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.007886, allocations: 46.67 kB / 0.9561 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.007936, allocations: 36.7 kB / 0.9561 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.008278, allocations: 316.1 kB / 0.9564 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.008293, allocations: 11.94 kB / 0.9565 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.008308, allocations: 8 kB / 0.9565 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.008478, allocations: 109.6 kB / 0.9566 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.008484, allocations: 0 / 0.9566 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.008495, allocations: 0 / 0.9566 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.008499, allocations: 4 kB / 0.9566 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.008608, allocations: 67.95 kB / 0.9566 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.009147, allocations: 459.5 kB / 0.9571 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.009359, allocations: 134.7 kB / 0.9572 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.009427, allocations: 48.78 kB / 0.9572 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.009442, allocations: 3.984 kB / 0.9573 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.009616, allocations: 126.1 kB / 0.9574 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.009617, allocations: 0 / 0.9574 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.000338/0.009955, allocations: 233.3 kB / 0.9576 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.009985, allocations: 59.34 kB / 0.9577 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.01036, allocations: 0.525 MB / 0.9582 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.01038, allocations: 29.7 kB / 0.9582 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.0105, allocations: 168.5 kB / 0.9584 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.01053, allocations: 43.67 kB / 0.9584 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.01059, allocations: 65.97 kB / 0.9585 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.01068, allocations: 354.8 kB / 0.9588 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.0108, allocations: 108.5 kB / 0.9589 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.01093, allocations: 131.6 kB / 0.959 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.01114, allocations: 195.7 kB / 0.9592 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01114, allocations: 0 / 0.9592 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003322/0.01147, allocations: 333.3 kB / 0.9595 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.01149, allocations: 6.875 kB / 0.9595 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01149, allocations: 4 kB / 0.9595 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01151, allocations: 7.938 kB / 0.9595 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.01164, allocations: 59.84 kB / 0.9596 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.01164, allocations: 0 / 0.9596 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.01172, allocations: 23.88 kB / 0.9596 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.01174, allocations: 8 kB / 0.9596 GB, free: 9.891 MB / 0.9167 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.0001207/0.01186, allocations: 185.7 kB / 0.9598 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.01189, allocations: 35.77 kB / 0.9598 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.01222, allocations: 212.7 kB / 0.96 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01222, allocations: 11.88 kB / 0.9601 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01222, allocations: 0 / 0.9601 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01223, allocations: 0 / 0.9601 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.01239, allocations: 256.6 kB / 0.9603 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01239, allocations: 0 / 0.9603 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.01243, allocations: 19.98 kB / 0.9603 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.01243, allocations: 4 kB / 0.9603 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.01244, allocations: 0 / 0.9603 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.01244, allocations: 7.875 kB / 0.9603 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01245, allocations: 7.984 kB / 0.9603 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.01266, allocations: 227.9 kB / 0.9606 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.0127, allocations: 43.7 kB / 0.9606 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.01273, allocations: 4 kB / 0.9606 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.588e-05/0.01277, allocations: 15.92 kB / 0.9606 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.01282, allocations: 19.97 kB / 0.9606 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.01283, allocations: 8 kB / 0.9606 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002193/0.01305, allocations: 331.1 kB / 0.961 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.797e-06/0.01306, allocations: 0 / 0.961 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000204/0.01326, allocations: 55.94 kB / 0.961 GB, free: 8.406 MB / 0.9167 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.00104/0.0143, allocations: 1.098 MB / 0.9621 GB, free: 7.461 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.01456, allocations: 191.8 kB / 0.9623 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01456, allocations: 0 / 0.9623 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.523e-05/0.01465, allocations: 67.89 kB / 0.9623 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.01492, allocations: 104.9 kB / 0.9624 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.01756, allocations: 3.227 MB / 0.9656 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.01768, allocations: 191.8 kB / 0.9658 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.01778, allocations: 54.94 kB / 0.9658 GB, free: 3.531 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.0179, allocations: 120.4 kB / 0.9659 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.0179, allocations: 0 / 0.9659 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.03704, allocations: 8.479 MB / 0.9742 GB, free: 11.06 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.06, allocations: 8.234 kB / 0.9742 GB, free: 11.05 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable product.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv. Warning: Get data of variable product.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv failed! Error: Could not read variable product.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv. Warning: Get data of variable product.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv failed! Error: Could not read variable product.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv. Warning: Get data of variable product.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.183295752853155]