Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",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.007491/0.007491, allocations: 103.9 kB / 15.74 MB, free: 6.008 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.001689/0.001689, allocations: 187 kB / 16.67 MB, free: 5.934 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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.753/2.753, allocations: 437.1 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.00149, allocations: 72.03 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3177, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.002039/0.3197, allocations: 0.6594 MB / 1.167 GB, free: 6.594 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.3208, allocations: 0.7926 MB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.3208, allocations: 0 / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.3209, allocations: 3.938 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.321, allocations: 7.922 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.739e-05/0.3211, allocations: 8 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.387e-05/0.3212, allocations: 23.98 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3213, allocations: 8 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.699e-05/0.3214, allocations: 11.92 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.23e-05/0.3215, allocations: 11.92 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.3215, allocations: 4 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.3215, allocations: 4 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.3215, allocations: 7.984 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.3215, allocations: 7.938 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3217, allocations: 23.89 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3217, allocations: 4 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3217, allocations: 4 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.3217, allocations: 0 / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004812/0.3222, allocations: 338.3 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3222, allocations: 12.03 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.3223, allocations: 30.75 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.3223, allocations: 0.9375 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3224, allocations: 168.3 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3225, allocations: 4.375 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3225, allocations: 384 / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3227, allocations: 58.16 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3227, allocations: 3.938 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3227, allocations: 0 / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3227, allocations: 0 / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.3229, allocations: 39.89 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.3232, allocations: 249 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.3233, allocations: 46.38 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.3234, allocations: 24.89 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.3234, allocations: 0 / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.3235, allocations: 34.56 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.3235, allocations: 4 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003329/0.3238, allocations: 77.64 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.3239, allocations: 51.41 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.3239, allocations: 105.9 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.324, allocations: 25.7 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.324, allocations: 88.12 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.324, allocations: 8.875 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.3241, allocations: 13.72 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.3242, allocations: 318.8 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.3243, allocations: 15.98 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.626e-05/0.3243, allocations: 19.97 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3245, allocations: 40.89 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3245, allocations: 3.938 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001713/0.3247, allocations: 61.66 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3247, allocations: 10.03 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3247, allocations: 0 / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3247, allocations: 0 / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.3248, allocations: 4 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.3248, allocations: 15.95 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.3249, allocations: 7.938 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3249, allocations: 0 / 1.17 GB, free: 3.586 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.421e-05/0.325, allocations: 113.8 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.325, allocations: 7.906 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.325, allocations: 7.109 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.325, allocations: 0 / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.325, allocations: 0 / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.325, allocations: 0 / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.3252, allocations: 161.6 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3252, allocations: 0 / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.3253, allocations: 15.92 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3253, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.3253, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3253, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3253, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.3255, allocations: 167.5 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.3256, allocations: 85.05 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.3256, allocations: 0 / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.3257, allocations: 7.984 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.3257, allocations: 8.188 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.3258, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.3258, allocations: 87.27 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3258, allocations: 0 / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002126/0.326, allocations: 8.031 kB / 1.17 GB, free: 2.836 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.0005753/0.3266, allocations: 0.6967 MB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.3268, allocations: 47.94 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3268, allocations: 0 / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.89e-05/0.3269, allocations: 19.97 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.3272, allocations: 4 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.3277, allocations: 135.1 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.3279, allocations: 0.6769 MB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.256e-05/0.3279, allocations: 4 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.328, allocations: 7.438 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.328, allocations: 0 / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.345, allocations: 1.31 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.482/7.827, allocations: 11.69 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches