Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",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.008184/0.008184, allocations: 97.81 kB / 15.73 MB, free: 5.961 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.002154/0.002154, allocations: 195.8 kB / 16.67 MB, free: 5.883 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.577/2.577, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 71.58 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3032, allocations: 162.3 MB / 1.242 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001872/0.3051, allocations: 0.8916 MB / 1.243 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.3061, allocations: 0.8662 MB / 1.244 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.3061, allocations: 4 kB / 1.244 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.3062, allocations: 23.73 kB / 1.244 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.3064, allocations: 31.72 kB / 1.244 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.3065, allocations: 43.94 kB / 1.244 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3067, allocations: 131.6 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3068, allocations: 54.73 kB / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.3069, allocations: 55.83 kB / 1.244 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.307, allocations: 95.64 kB / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.3071, allocations: 12 kB / 1.244 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.406e-05/0.3071, allocations: 12 kB / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.3072, allocations: 39.91 kB / 1.244 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.3073, allocations: 63.59 kB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.3075, allocations: 179.4 kB / 1.244 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3075, allocations: 0 / 1.244 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3075, allocations: 4 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3075, allocations: 0 / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008916/0.3084, allocations: 0.5025 MB / 1.245 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3084, allocations: 8.031 kB / 1.245 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.3085, allocations: 42.73 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.3085, allocations: 20.8 kB / 1.245 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3087, allocations: 232 kB / 1.245 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3088, allocations: 4.375 kB / 1.245 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.3088, allocations: 8.375 kB / 1.245 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.3093, allocations: 178.1 kB / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3093, allocations: 7.875 kB / 1.245 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3093, allocations: 0 / 1.245 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3094, allocations: 8 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007711/0.3101, allocations: 215.8 kB / 1.246 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.3111, allocations: 0.5082 MB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.3115, allocations: 150.4 kB / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.3119, allocations: 120.7 kB / 1.246 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.312, allocations: 0 / 1.246 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.312, allocations: 38.56 kB / 1.246 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.312, allocations: 0 / 1.246 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.001229/0.3132, allocations: 357.8 kB / 1.247 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.3133, allocations: 55.44 kB / 1.247 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.3135, allocations: 189.7 kB / 1.247 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3135, allocations: 25.7 kB / 1.247 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.3136, allocations: 128 kB / 1.247 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.3136, allocations: 27.75 kB / 1.247 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.3137, allocations: 21.7 kB / 1.247 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3138, allocations: 326.8 kB / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.3142, allocations: 103.9 kB / 1.248 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.3146, allocations: 107.8 kB / 1.248 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007244/0.3153, allocations: 212.6 kB / 1.248 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3153, allocations: 0 / 1.248 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007981/0.3161, allocations: 261.3 kB / 1.248 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3161, allocations: 6.188 kB / 1.248 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3161, allocations: 3.984 kB / 1.248 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.3162, allocations: 0 / 1.248 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.3164, allocations: 51.94 kB / 1.248 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3165, allocations: 7.938 kB / 1.248 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.3166, allocations: 27.95 kB / 1.248 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3167, allocations: 4 kB / 1.248 GB, free: 2.219 MB / 0.9669 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 (9): * Single equations (assignments): 9 * 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.0001067/0.3168, allocations: 129.8 kB / 1.248 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.3168, allocations: 15.91 kB / 1.248 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.3169, allocations: 25.41 kB / 1.248 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3169, allocations: 8.219 kB / 1.248 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3169, allocations: 3.938 kB / 1.248 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.3169, allocations: 3.984 kB / 1.248 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.3172, allocations: 249.4 kB / 1.249 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3172, allocations: 0 / 1.249 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.3174, allocations: 43.94 kB / 1.249 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3174, allocations: 0 / 1.249 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3175, allocations: 12 kB / 1.249 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3175, allocations: 0 / 1.249 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3175, allocations: 3.938 kB / 1.249 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000852/0.3183, allocations: 359.2 kB / 1.249 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.3184, allocations: 89.02 kB / 1.249 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3184, allocations: 4 kB / 1.249 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.3186, allocations: 27.95 kB / 1.249 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.3187, allocations: 19.91 kB / 1.249 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3187, allocations: 8 kB / 1.249 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001046/0.3188, allocations: 139.2 kB / 1.249 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3188, allocations: 0 / 1.249 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002367/0.3191, allocations: 27.95 kB / 1.249 GB, free: 0.9766 MB / 0.9669 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 (9): * Single equations (assignments): 9 * 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.001177/0.3203, allocations: 0.8884 MB / 1.25 GB, free: 64 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008211/0.3211, allocations: 223.8 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3211, allocations: 384 / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.3215, allocations: 127.8 kB / 1.25 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3218, allocations: 27.86 kB / 1.25 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.3252, allocations: 2.143 MB / 1.253 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.3256, allocations: 0.7275 MB / 1.253 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.149e-05/0.3256, allocations: 16.42 kB / 1.253 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-05/0.3257, allocations: 43.42 kB / 1.253 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3257, allocations: 0 / 1.253 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7261/1.052, allocations: 3.647 MB / 1.257 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.74, allocations: 7.938 kB / 1.257 GB, free: 9.109 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches