Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Reals.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001864/0.001865, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002266/0.002266, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.519/1.519, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.84/2.84, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 73.44 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3663, allocations: 159.1 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.002207/0.3686, allocations: 0.7086 MB / 1.064 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3696, allocations: 0.8001 MB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.3697, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.3697, allocations: 3.938 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.3698, allocations: 7.938 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.996e-05/0.3699, allocations: 11.98 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.507e-05/0.37, allocations: 47.78 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3701, allocations: 16 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.224e-05/0.3702, allocations: 11.98 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.3702, allocations: 23.86 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3703, allocations: 4 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.3703, allocations: 4 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.3703, allocations: 15.97 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.3703, allocations: 11.88 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.847e-05/0.3704, allocations: 39.86 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3704, allocations: 7.938 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3705, allocations: 4 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3705, allocations: 0 / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005534/0.371, allocations: 359.7 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3711, allocations: 8.031 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.3711, allocations: 30.75 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.3712, allocations: 8.844 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3713, allocations: 168.3 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3713, allocations: 8.375 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3713, allocations: 4.375 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.3716, allocations: 70.16 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3716, allocations: 3.938 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.3716, allocations: 0 / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3716, allocations: 4 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.3719, allocations: 67.92 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.3724, allocations: 264.8 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3726, allocations: 58.48 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.3728, allocations: 40.91 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.3728, allocations: 0 / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3728, allocations: 34.56 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3728, allocations: 0 / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005599/0.3734, allocations: 137.8 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3735, allocations: 51.41 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.527e-05/0.3736, allocations: 113.8 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3736, allocations: 25.7 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.3736, allocations: 88.14 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.3737, allocations: 7.812 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.3737, allocations: 17.72 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3739, allocations: 318.8 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.374, allocations: 31.97 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3742, allocations: 35.95 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.3744, allocations: 72.67 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3745, allocations: 4 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003498/0.3748, allocations: 97.61 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3748, allocations: 4 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3748, allocations: 3.938 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3749, allocations: 0 / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.375, allocations: 15.98 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.375, allocations: 4 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-05/0.3751, allocations: 11.98 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.3751, allocations: 0 / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.132e-05/0.3752, allocations: 115.5 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.3753, allocations: 15.83 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.3753, allocations: 7.906 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3753, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3753, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3753, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3755, allocations: 165.6 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3755, allocations: 0 / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/0.3756, allocations: 23.97 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3756, allocations: 0 / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3756, allocations: 0 / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.3756, allocations: 0 / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3757, allocations: 4 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.376, allocations: 195.4 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.3761, allocations: 84.95 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3761, allocations: 3.984 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3762, allocations: 15.98 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.3763, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.3763, allocations: 4 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.3764, allocations: 91.27 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3764, allocations: 0 / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00022/0.3766, allocations: 8 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0007489/0.3773, allocations: 0.7343 MB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.3777, allocations: 63.92 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3777, allocations: 4 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.3779, allocations: 36.3 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3782, allocations: 17.17 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.3788, allocations: 155.2 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.379, allocations: 0.6846 MB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.629e-05/0.3791, allocations: 11.97 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.3791, allocations: 11.44 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3791, allocations: 4 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.3966, allocations: 1.593 MB / 1.071 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.95, allocations: 9.812 kB / 1.071 GB, free: 6.215 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches