Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.0009712/0.000971, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001082/0.001082, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.622/2.622, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003941, allocations: 15.88 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7884/0.7888, allocations: 146.8 MB / 0.9812 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001131/0.79, allocations: 0.5347 MB / 0.9817 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.7911, allocations: 0.8858 MB / 0.9825 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.7912, allocations: 4 kB / 0.9825 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.7913, allocations: 3.938 kB / 0.9825 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.7914, allocations: 19.84 kB / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.7916, allocations: 43.95 kB / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.7918, allocations: 111.7 kB / 0.9827 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.7919, allocations: 37.16 kB / 0.9828 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.792, allocations: 47.83 kB / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.7922, allocations: 63.73 kB / 0.9829 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.7922, allocations: 8 kB / 0.9829 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.7922, allocations: 4 kB / 0.9829 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.7923, allocations: 31.89 kB / 0.9829 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.7923, allocations: 37.64 kB / 0.9829 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.7925, allocations: 99.78 kB / 0.983 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7925, allocations: 0 / 0.983 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.466e-06/0.7925, allocations: 3.984 kB / 0.983 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.7925, allocations: 0 / 0.983 GB, free: 4.293 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00083/0.7933, allocations: 437.1 kB / 0.9835 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.7934, allocations: 8.031 kB / 0.9835 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.204e-05/0.7935, allocations: 42.55 kB / 0.9835 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.7935, allocations: 11.91 kB / 0.9835 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.7937, allocations: 199.4 kB / 0.9837 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.7938, allocations: 7.938 kB / 0.9837 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.7938, allocations: 8 kB / 0.9837 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/0.7942, allocations: 166.9 kB / 0.9839 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.7943, allocations: 0 / 0.9839 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.7943, allocations: 8 kB / 0.9839 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.7943, allocations: 3.938 kB / 0.9839 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.7948, allocations: 187.8 kB / 0.9841 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.7955, allocations: 420.5 kB / 0.9845 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007447/0.7962, allocations: 198.5 kB / 0.9847 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.7965, allocations: 104.9 kB / 0.9848 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.7965, allocations: 3.984 kB / 0.9848 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.7966, allocations: 30.56 kB / 0.9848 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.7966, allocations: 0 / 0.9848 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0008964/0.7975, allocations: 329.3 kB / 0.9851 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.7975, allocations: 63.33 kB / 0.9852 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.7977, allocations: 150.6 kB / 0.9853 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.7977, allocations: 25.7 kB / 0.9853 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.7978, allocations: 108 kB / 0.9854 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.7978, allocations: 31.55 kB / 0.9855 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.7978, allocations: 0 / 0.9855 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7979, allocations: 322.8 kB / 0.9858 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.7982, allocations: 91.92 kB / 0.9859 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.7984, allocations: 95.86 kB / 0.986 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.7987, allocations: 88.5 kB / 0.986 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7987, allocations: 0 / 0.986 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000562/0.7993, allocations: 245.3 kB / 0.9863 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.7993, allocations: 4 kB / 0.9863 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7993, allocations: 0 / 0.9863 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7993, allocations: 0 / 0.9863 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.7996, allocations: 47.95 kB / 0.9863 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.7996, allocations: 0 / 0.9863 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.7998, allocations: 35.88 kB / 0.9864 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.7998, allocations: 8 kB / 0.9864 GB, free: 0.6562 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.7999, allocations: 125.8 kB / 0.9865 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.8, allocations: 11.86 kB / 0.9865 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.8, allocations: 16.72 kB / 0.9865 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.8001, allocations: 0 / 0.9865 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.8001, allocations: 4 kB / 0.9865 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.8001, allocations: 3.984 kB / 0.9865 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.8004, allocations: 229.5 kB / 0.9867 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.8004, allocations: 4 kB / 0.9867 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.8006, allocations: 43.95 kB / 0.9868 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.8006, allocations: 3.953 kB / 0.9868 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.8006, allocations: 11.98 kB / 0.9868 GB, free: 152 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8006, allocations: 3.938 kB / 0.9868 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8007, allocations: 0 / 0.9868 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.8013, allocations: 335.1 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.8014, allocations: 88.95 kB / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.8014, allocations: 7.953 kB / 0.9872 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.8016, allocations: 27.97 kB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.8017, allocations: 35.95 kB / 0.9873 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.8018, allocations: 4 kB / 0.9873 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.196e-05/0.8019, allocations: 107.8 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8019, allocations: 0 / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002444/0.8021, allocations: 24 kB / 0.9874 GB, free: 15.49 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/0.8032, allocations: 0.8735 MB / 0.9883 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.8038, allocations: 207.8 kB / 0.9885 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8038, allocations: 0 / 0.9885 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.8041, allocations: 115.9 kB / 0.9886 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.8045, allocations: 23.8 kB / 0.9886 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.8063, allocations: 0.9138 MB / 0.9895 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.8066, allocations: 0.7043 MB / 0.9902 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.8067, allocations: 20.42 kB / 0.9902 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.8068, allocations: 43.41 kB / 0.9902 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of SimCode: time 6.71e-07/0.8068, allocations: 0 / 0.9902 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.8208, allocations: 3.228 MB / 0.9934 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.821, allocations: 189.9 kB / 0.9936 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.66, allocations: 3.938 kB / 0.9936 GB, free: 9.188 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat