Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00188/0.00188, allocations: 102.7 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002288/0.002288, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.572/1.572, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.181/3.181, allocations: 0.49 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 68.12 kB / 1.149 GB, free: 26.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3817, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003784/0.3855, allocations: 2.033 MB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.388, allocations: 1.349 MB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.3881, allocations: 11.94 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.3885, allocations: 163.3 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000471/0.389, allocations: 207.1 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.3894, allocations: 155.6 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000412/0.3898, allocations: 335.1 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.39, allocations: 40.95 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.3902, allocations: 163.4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.3904, allocations: 163.3 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.3905, allocations: 16 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3906, allocations: 63.97 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3907, allocations: 91.61 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3908, allocations: 123.2 kB / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000489/0.3913, allocations: 390.2 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3913, allocations: 4 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3913, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.3913, allocations: 4 kB / 1.326 GB, free: 14.07 MB / 1.029 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.001105/0.3924, allocations: 0.6377 MB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3925, allocations: 11.98 kB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.3926, allocations: 38.75 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.95e-05/0.3926, allocations: 52.67 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.3933, allocations: 386 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.3933, allocations: 11.91 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.3933, allocations: 12 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.3936, allocations: 105.6 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3936, allocations: 0 / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3937, allocations: 4 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3937, allocations: 4 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.3938, allocations: 59.89 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008741/0.3947, allocations: 0.4965 MB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.3951, allocations: 130.7 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.3952, allocations: 44.83 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.3953, allocations: 4 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.3955, allocations: 114.5 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.923e-06/0.3955, allocations: 0 / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006008/0.3961, allocations: 225.3 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.3962, allocations: 63.34 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/0.3969, allocations: 0.5249 MB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.3969, allocations: 33.69 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.3971, allocations: 164.5 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.3971, allocations: 47.72 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3972, allocations: 69.92 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3974, allocations: 350.8 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.3976, allocations: 96.52 kB / 1.33 GB, free: 10.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.3979, allocations: 135.6 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.3983, allocations: 187 kB / 1.33 GB, free: 9.855 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3983, allocations: 0 / 1.33 GB, free: 9.855 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006057/0.3989, allocations: 325.3 kB / 1.33 GB, free: 9.531 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3989, allocations: 7.938 kB / 1.33 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3989, allocations: 4 kB / 1.33 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3989, allocations: 3.938 kB / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.3991, allocations: 55.97 kB / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3992, allocations: 8 kB / 1.33 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.3993, allocations: 19.88 kB / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.3993, allocations: 11.98 kB / 1.33 GB, free: 9.422 MB / 1.029 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.0002043/0.3995, allocations: 189.7 kB / 1.33 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.3996, allocations: 35.7 kB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/0.3997, allocations: 35.25 kB / 1.33 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3997, allocations: 4 kB / 1.331 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3997, allocations: 0 / 1.331 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3997, allocations: 4 kB / 1.331 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.4, allocations: 301.4 kB / 1.331 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4, allocations: 4 kB / 1.331 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.4001, allocations: 15.98 kB / 1.331 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4001, allocations: 7.875 kB / 1.331 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4001, allocations: 0 / 1.331 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4001, allocations: 4 kB / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4001, allocations: 0 / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.4005, allocations: 212.8 kB / 1.331 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.4006, allocations: 128.8 kB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.4007, allocations: 4 kB / 1.331 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4008, allocations: 4 kB / 1.331 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.4008, allocations: 19.97 kB / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.4009, allocations: 8 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003719/0.4012, allocations: 319.1 kB / 1.331 GB, free: 8.055 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4012, allocations: 0 / 1.331 GB, free: 8.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003077/0.4015, allocations: 67.88 kB / 1.332 GB, free: 7.988 MB / 1.029 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.002206/0.4037, allocations: 1.069 MB / 1.333 GB, free: 7.051 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004314/0.4042, allocations: 179.9 kB / 1.333 GB, free: 6.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4042, allocations: 8.125 kB / 1.333 GB, free: 6.867 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.4043, allocations: 59.91 kB / 1.333 GB, free: 6.809 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.4049, allocations: 89.72 kB / 1.333 GB, free: 6.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.4092, allocations: 3.201 MB / 1.336 GB, free: 3.445 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.4096, allocations: 0.7871 MB / 1.337 GB, free: 2.633 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.4098, allocations: 50.95 kB / 1.337 GB, free: 2.582 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.41, allocations: 119.4 kB / 1.337 GB, free: 2.469 MB / 1.029 GB Notification: Performance of SimCode: time 9.41e-07/0.41, allocations: 0 / 1.337 GB, free: 2.469 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.443, allocations: 7.373 MB / 1.344 GB, free: 11.2 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.702/9.145, allocations: 12.05 kB / 1.344 GB, free: 11.19 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.042004725895822]