Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_9_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.000967/0.0009668, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008542/0.008542, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004444, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7066/0.707, allocations: 142.4 MB / 0.9552 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002033/0.7091, allocations: 1.69 MB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.7108, allocations: 1.158 MB / 0.958 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.711, allocations: 6.719 kB / 0.958 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.7113, allocations: 149.4 kB / 0.9581 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.7116, allocations: 142.2 kB / 0.9583 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.712, allocations: 198.5 kB / 0.9584 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.7123, allocations: 299.2 kB / 0.9587 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.7125, allocations: 50.02 kB / 0.9588 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.7126, allocations: 121.5 kB / 0.9589 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.7128, allocations: 139.7 kB / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.7128, allocations: 5.5 kB / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.7129, allocations: 47.47 kB / 0.9591 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.713, allocations: 85.98 kB / 0.9592 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.118e-05/0.7131, allocations: 137.7 kB / 0.9593 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.7134, allocations: 353.2 kB / 0.9596 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7134, allocations: 0 / 0.9596 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7134, allocations: 0 / 0.9596 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.7135, allocations: 0 / 0.9596 GB, free: 4.324 MB / 0.7169 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.0008118/0.7143, allocations: 0.5717 MB / 0.9602 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.7143, allocations: 13.62 kB / 0.9602 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.7144, allocations: 37.5 kB / 0.9602 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.7145, allocations: 33.06 kB / 0.9603 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.7149, allocations: 381.5 kB / 0.9606 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.7149, allocations: 4 kB / 0.9606 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.715, allocations: 10.09 kB / 0.9606 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.7152, allocations: 104.1 kB / 0.9607 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7152, allocations: 0 / 0.9607 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.7152, allocations: 8.688 kB / 0.9607 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7153, allocations: 6.562 kB / 0.9608 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.7154, allocations: 59.05 kB / 0.9608 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007501/0.7162, allocations: 0.493 MB / 0.9613 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.7166, allocations: 140.7 kB / 0.9614 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.7167, allocations: 43.25 kB / 0.9615 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.7167, allocations: 2.344 kB / 0.9615 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.717, allocations: 112.1 kB / 0.9616 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.717, allocations: 4 kB / 0.9616 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005845/0.7176, allocations: 227.5 kB / 0.9618 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.7176, allocations: 53.53 kB / 0.9618 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.7183, allocations: 0.5104 MB / 0.9623 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.7183, allocations: 31.52 kB / 0.9624 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.7184, allocations: 158 kB / 0.9625 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.7184, allocations: 37.61 kB / 0.9626 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.7185, allocations: 36.58 kB / 0.9626 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.7186, allocations: 353.5 kB / 0.9629 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.7188, allocations: 100.2 kB / 0.963 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.719, allocations: 127.7 kB / 0.9632 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.7194, allocations: 188.4 kB / 0.9633 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7194, allocations: 5.406 kB / 0.9633 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005417/0.7199, allocations: 327.4 kB / 0.9636 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.7199, allocations: 9.156 kB / 0.9637 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.72, allocations: 0.9688 kB / 0.9637 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.72, allocations: 2.312 kB / 0.9637 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.7202, allocations: 51.22 kB / 0.9637 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.7202, allocations: 2.344 kB / 0.9637 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.7204, allocations: 24.86 kB / 0.9637 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.7204, allocations: 12.84 kB / 0.9637 GB, free: 1.145 MB / 0.7169 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.0001498/0.7206, allocations: 175.5 kB / 0.9639 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.7206, allocations: 42.14 kB / 0.964 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.782e-05/0.7207, allocations: 37.77 kB / 0.964 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.7207, allocations: 1.469 kB / 0.964 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7207, allocations: 1.438 kB / 0.964 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7207, allocations: 0 / 0.964 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.7209, allocations: 299.9 kB / 0.9643 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7209, allocations: 5.062 kB / 0.9643 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.721, allocations: 10.19 kB / 0.9643 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.721, allocations: 5.062 kB / 0.9643 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.721, allocations: 5.047 kB / 0.9643 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.721, allocations: 5.062 kB / 0.9643 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7211, allocations: 1.406 kB / 0.9643 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.7214, allocations: 213.4 kB / 0.9645 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.7214, allocations: 118.6 kB / 0.9646 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.7215, allocations: 12.98 kB / 0.9646 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.7216, allocations: 5.562 kB / 0.9646 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.7217, allocations: 17.84 kB / 0.9647 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.7217, allocations: 6.094 kB / 0.9647 GB, free: 360 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003146/0.722, allocations: 314.9 kB / 0.965 GB, free: 176 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.722, allocations: 0 / 0.965 GB, free: 176 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002942/0.7223, allocations: 52.31 kB / 0.965 GB, free: 168 kB / 0.7169 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.001517/0.7238, allocations: 1.078 MB / 0.9661 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004226/0.7243, allocations: 192.8 kB / 0.9663 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7243, allocations: 0 / 0.9663 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.7244, allocations: 68.16 kB / 0.9663 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.7249, allocations: 76.17 kB / 0.9664 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.7288, allocations: 3.182 MB / 0.9695 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.7292, allocations: 0.789 MB / 0.9703 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.7293, allocations: 59.44 kB / 0.9703 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.7295, allocations: 106.8 kB / 0.9704 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.7295, allocations: 0 / 0.9704 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05106/0.7806, allocations: 6.509 MB / 0.9768 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.7808, allocations: 247.5 kB / 0.977 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.478/4.259, allocations: 0 / 0.977 GB, free: 8.773 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches