Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.008118/0.008118, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.002265/0.002265, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 66.19 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2742, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.001864/0.2761, allocations: 0.7046 MB / 1.088 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000917/0.277, allocations: 0.8004 MB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.2771, allocations: 4 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.2771, allocations: 3.938 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/0.2772, allocations: 7.922 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.273e-05/0.2772, allocations: 11.98 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.215e-05/0.2773, allocations: 51.8 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.2774, allocations: 15.97 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.2775, allocations: 15.98 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.2776, allocations: 27.86 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2776, allocations: 0 / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-06/0.2776, allocations: 4 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.2776, allocations: 11.98 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.2777, allocations: 11.94 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.925e-05/0.2777, allocations: 35.81 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2777, allocations: 4 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2778, allocations: 0 / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.2778, allocations: 0 / 1.089 GB, free: 256 kB / 0.8419 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.0004951/0.2783, allocations: 366.2 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2783, allocations: 8.031 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.2784, allocations: 30.75 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.2784, allocations: 8.844 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2785, allocations: 173.1 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2785, allocations: 8.375 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-06/0.2785, allocations: 384 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.2788, allocations: 74.2 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2788, allocations: 7.938 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.2788, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2788, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.2791, allocations: 63.92 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.2795, allocations: 268.8 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.2796, allocations: 58.53 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.2798, allocations: 32.92 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.2798, allocations: 7.984 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2799, allocations: 34.56 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2799, allocations: 3.938 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005923/0.2805, allocations: 129.5 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.2805, allocations: 51.41 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.2806, allocations: 114.1 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2806, allocations: 25.7 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.2807, allocations: 88.12 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.2807, allocations: 7.812 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.2807, allocations: 13.72 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.2808, allocations: 314.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.281, allocations: 39.89 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.2811, allocations: 32.16 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.2814, allocations: 76.8 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2814, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003162/0.2817, allocations: 101.6 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2817, allocations: 5.562 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2817, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2818, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2819, allocations: 23.97 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2819, allocations: 4.062 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.282, allocations: 11.98 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.282, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 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 7.049e-05/0.2821, allocations: 117.7 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.2821, allocations: 7.906 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.2821, allocations: 7.906 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2821, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.2822, allocations: 7.984 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2822, allocations: 0 / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.2823, allocations: 165.6 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2823, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.108e-05/0.2824, allocations: 15.98 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2824, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2824, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2824, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2825, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.2828, allocations: 199.3 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.2829, allocations: 81.02 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.2829, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.283, allocations: 15.98 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.283, allocations: 7.984 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.283, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.2831, allocations: 83.28 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2831, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002108/0.2833, allocations: 11.94 kB / 1.092 GB, free: 13.06 MB / 0.8575 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.0006407/0.2839, allocations: 0.7319 MB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.2843, allocations: 71.92 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2843, allocations: 3.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.2845, allocations: 35.95 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.2848, allocations: 8 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.2852, allocations: 171.1 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.2855, allocations: 0.6807 MB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.2855, allocations: 336 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.2855, allocations: 15.44 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2856, allocations: 0 / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.3023, allocations: 1.657 MB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.093, allocations: 12.03 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches