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.000806/0.000806, 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.0008174/0.0008174, allocations: 165.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.8843/0.8843, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.648/1.648, 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 1.503e-06/1.503e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.669e-05, allocations: 9.234 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00228/0.002297, allocations: 1.968 MB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.003786, allocations: 1.286 MB / 0.9537 GB, free: 228 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.00389, allocations: 7.938 kB / 0.9537 GB, free: 220 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.00426, allocations: 159.3 kB / 0.9538 GB, free: 60 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.004642, allocations: 219.1 kB / 0.9541 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.004902, allocations: 159.5 kB / 0.9542 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.00519, allocations: 350.9 kB / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.00532, allocations: 28.92 kB / 0.9546 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.005499, allocations: 191.5 kB / 0.9547 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.005647, allocations: 143.6 kB / 0.9549 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.005672, allocations: 16 kB / 0.9549 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.005772, allocations: 59.91 kB / 0.955 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.213e-05/0.005854, allocations: 95.67 kB / 0.9551 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.005916, allocations: 71.72 kB / 0.9551 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.006478, allocations: 386.7 kB / 0.9555 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.00648, allocations: 0 / 0.9555 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006481, allocations: 3.938 kB / 0.9555 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.006486, allocations: 0 / 0.9555 GB, free: 14.36 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.000663/0.007149, allocations: 0.5679 MB / 0.956 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.007188, allocations: 8.031 kB / 0.9561 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.007221, allocations: 46.67 kB / 0.9561 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.007274, allocations: 36.7 kB / 0.9561 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.007624, allocations: 320.1 kB / 0.9564 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.007639, allocations: 11.94 kB / 0.9564 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.007654, allocations: 8 kB / 0.9565 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.007831, allocations: 108.3 kB / 0.9566 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.007839, allocations: 0 / 0.9566 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.00785, allocations: 4 kB / 0.9566 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.007855, allocations: 4 kB / 0.9566 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.007968, allocations: 71.83 kB / 0.9566 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.008523, allocations: 451.6 kB / 0.9571 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.008737, allocations: 142.7 kB / 0.9572 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.975e-05/0.008807, allocations: 48.83 kB / 0.9572 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.008823, allocations: 4 kB / 0.9573 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.008988, allocations: 115.3 kB / 0.9574 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.00899, allocations: 0 / 0.9574 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003735/0.009363, allocations: 243.6 kB / 0.9576 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.009391, allocations: 55.41 kB / 0.9576 GB, free: 12 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.009772, allocations: 0.5289 MB / 0.9582 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.009786, allocations: 25.7 kB / 0.9582 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.009881, allocations: 168.5 kB / 0.9584 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.009911, allocations: 43.69 kB / 0.9584 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.009979, allocations: 65.97 kB / 0.9585 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.01007, allocations: 350.8 kB / 0.9588 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.01019, allocations: 104.5 kB / 0.9589 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.01033, allocations: 135.6 kB / 0.959 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.01053, allocations: 191.7 kB / 0.9592 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.01053, allocations: 0 / 0.9592 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003399/0.01087, allocations: 341.3 kB / 0.9595 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01089, allocations: 11.94 kB / 0.9595 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01089, allocations: 0 / 0.9595 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.0109, allocations: 3.938 kB / 0.9595 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.01104, allocations: 51.91 kB / 0.9596 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.01105, allocations: 7.984 kB / 0.9596 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.848e-05/0.01112, allocations: 19.95 kB / 0.9596 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.01115, allocations: 15.98 kB / 0.9596 GB, free: 9.906 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.0001268/0.01127, allocations: 181.8 kB / 0.9598 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.0113, allocations: 35.77 kB / 0.9598 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.01156, allocations: 204.7 kB / 0.96 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01157, allocations: 7.875 kB / 0.96 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01157, allocations: 0 / 0.96 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01157, allocations: 0 / 0.96 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01174, allocations: 264.6 kB / 0.9603 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.01174, allocations: 7.938 kB / 0.9603 GB, free: 9.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.01179, allocations: 15.98 kB / 0.9603 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01179, allocations: 0 / 0.9603 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.0118, allocations: 8 kB / 0.9603 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.0118, allocations: 7.922 kB / 0.9603 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.0118, allocations: 0 / 0.9603 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.01202, allocations: 228 kB / 0.9606 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.01206, allocations: 35.7 kB / 0.9606 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.01209, allocations: 8 kB / 0.9606 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.816e-05/0.01214, allocations: 23.92 kB / 0.9606 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.01219, allocations: 19.91 kB / 0.9606 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.0122, allocations: 8 kB / 0.9606 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002234/0.01242, allocations: 331.1 kB / 0.961 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01242, allocations: 0 / 0.961 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001904/0.01261, allocations: 55.94 kB / 0.961 GB, free: 8.426 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.001054/0.01367, allocations: 1.093 MB / 0.9621 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.01414, allocations: 195.8 kB / 0.9623 GB, free: 7.293 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01414, allocations: 0 / 0.9623 GB, free: 7.293 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.01422, allocations: 67.91 kB / 0.9623 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.01451, allocations: 100.7 kB / 0.9624 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.01703, allocations: 3.231 MB / 0.9656 GB, free: 3.816 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.01714, allocations: 187.8 kB / 0.9658 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.153e-05/0.01723, allocations: 54.95 kB / 0.9658 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.01736, allocations: 120.4 kB / 0.9659 GB, free: 3.438 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.01736, allocations: 0 / 0.9659 GB, free: 3.438 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.03654, allocations: 8.477 MB / 0.9742 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.122, allocations: 6.312 kB / 0.9742 GB, free: 11.08 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.04998330399394]