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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008324/0.0008323, 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.006335/0.006335, 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.225/1.225, 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 11.0.0-master/package.mo): time 2.436/2.436, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 11.03 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2819, allocations: 159.6 MB / 1.059 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.0007609/0.2827, allocations: 436.4 kB / 1.059 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.2835, allocations: 0.8079 MB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.2835, allocations: 0 / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.2836, allocations: 3.938 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.351e-05/0.2836, allocations: 7.922 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.504e-05/0.2837, allocations: 8 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.398e-05/0.2838, allocations: 43.84 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/0.2838, allocations: 12 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.2839, allocations: 15.98 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.2839, allocations: 19.86 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.284, allocations: 0 / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.284, allocations: 4 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.284, allocations: 3.984 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.284, allocations: 37.64 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.543e-05/0.2841, allocations: 43.78 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2841, allocations: 3.938 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2841, allocations: 4 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.2841, allocations: 0 / 1.06 GB, free: 3.371 MB / 0.8106 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.0004288/0.2846, allocations: 363.7 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2846, allocations: 11.97 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.2847, allocations: 38.75 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.2847, allocations: 8.922 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.2848, allocations: 168.2 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.2848, allocations: 4.375 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.2848, allocations: 384 / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.2851, allocations: 82.22 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2851, allocations: 3.938 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.2851, allocations: 0 / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2851, allocations: 0 / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.2854, allocations: 91.86 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.2857, allocations: 268.9 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.2859, allocations: 70.53 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.2861, allocations: 48.92 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.2861, allocations: 7.938 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.2861, allocations: 34.5 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.2861, allocations: 0 / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000526/0.2866, allocations: 161.5 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.2867, allocations: 55.41 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.2868, allocations: 109.8 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2868, allocations: 25.7 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.2868, allocations: 84.14 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.2869, allocations: 7.906 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.2869, allocations: 13.72 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.287, allocations: 314.8 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.2871, allocations: 43.97 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2873, allocations: 43.95 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.2876, allocations: 96.67 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2876, allocations: 4 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003212/0.2879, allocations: 121.8 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.2879, allocations: 11.94 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2879, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.2879, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.2881, allocations: 20.03 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2881, allocations: 320 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.2882, allocations: 23.97 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.2882, allocations: 4 kB / 1.062 GB, free: 0.8398 MB / 0.8106 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.146e-05/0.2882, allocations: 113.8 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.2883, allocations: 4 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.2883, allocations: 11.84 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2883, allocations: 0 / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2883, allocations: 4 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.2883, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.2885, allocations: 177.6 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2885, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.456e-05/0.2886, allocations: 19.97 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.2886, allocations: 4 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.2886, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2886, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2886, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.289, allocations: 219.3 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.289, allocations: 85.03 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.289, allocations: 4 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2891, allocations: 15.98 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.2892, allocations: 4 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.2892, allocations: 0 / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.2892, allocations: 103.1 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2892, allocations: 4 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001991/0.2895, allocations: 4 kB / 1.063 GB, free: 15.98 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.0006389/0.2901, allocations: 0.7514 MB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.2904, allocations: 91.92 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2904, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.2906, allocations: 47.91 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.2909, allocations: 11.98 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.2912, allocations: 166.2 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.2915, allocations: 0.6809 MB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.491e-05/0.2915, allocations: 0 / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.2915, allocations: 19.42 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2915, allocations: 0 / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.441/1.732, allocations: 1.303 MB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.732, allocations: 213.6 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/3.453, allocations: 0 / 1.066 GB, free: 12.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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