Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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.Continuous.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",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.001027/0.001027, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001326/0.001326, allocations: 172.7 kB / 15.95 MB, free: 208 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.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.681/2.681, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 20 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7917/0.7921, allocations: 146.8 MB / 0.9812 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.00106/0.7932, allocations: 422.4 kB / 0.9816 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.7942, allocations: 0.8062 MB / 0.9824 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.7942, allocations: 0 / 0.9824 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.7943, allocations: 0 / 0.9824 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.488e-05/0.7943, allocations: 3.938 kB / 0.9824 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.257e-05/0.7944, allocations: 7.984 kB / 0.9824 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.7945, allocations: 39.86 kB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.7947, allocations: 12 kB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.7947, allocations: 11.98 kB / 0.9824 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.7948, allocations: 19.92 kB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.7948, allocations: 0 / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.7948, allocations: 11.88 kB / 0.9825 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.7949, allocations: 7.922 kB / 0.9825 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.7949, allocations: 25.7 kB / 0.9825 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.381e-05/0.795, allocations: 31.92 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.795, allocations: 0 / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.795, allocations: 4 kB / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.795, allocations: 0 / 0.9825 GB, free: 4.871 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005614/0.7956, allocations: 373.5 kB / 0.9829 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.7956, allocations: 8.031 kB / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.7957, allocations: 38.56 kB / 0.9829 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.7957, allocations: 3.906 kB / 0.9829 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.7959, allocations: 171 kB / 0.9831 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.7959, allocations: 0 / 0.9831 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.7959, allocations: 0 / 0.9831 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.7962, allocations: 89.59 kB / 0.9832 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.7962, allocations: 0 / 0.9832 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.7962, allocations: 4 kB / 0.9832 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.7962, allocations: 4 kB / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.7965, allocations: 83.92 kB / 0.9833 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.797, allocations: 272.8 kB / 0.9835 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.7972, allocations: 70.48 kB / 0.9836 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.7974, allocations: 44.92 kB / 0.9836 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.7974, allocations: 4 kB / 0.9836 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.7974, allocations: 38.55 kB / 0.9837 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.7974, allocations: 0 / 0.9837 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005089/0.7979, allocations: 157.5 kB / 0.9838 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.798, allocations: 59.41 kB / 0.9839 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.7981, allocations: 105.8 kB / 0.984 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.7982, allocations: 25.7 kB / 0.984 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.7982, allocations: 88.14 kB / 0.9841 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.7982, allocations: 15.73 kB / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.7983, allocations: 0 / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7984, allocations: 314.8 kB / 0.9844 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.7985, allocations: 43.97 kB / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.7987, allocations: 43.95 kB / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.7988, allocations: 43.97 kB / 0.9845 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7988, allocations: 3.938 kB / 0.9845 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002892/0.7991, allocations: 125.5 kB / 0.9847 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.7991, allocations: 8.938 kB / 0.9847 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.7991, allocations: 0 / 0.9847 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.7992, allocations: 0 / 0.9847 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.7993, allocations: 23.98 kB / 0.9847 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.7993, allocations: 3.938 kB / 0.9847 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-05/0.7994, allocations: 15.98 kB / 0.9847 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.7994, allocations: 0 / 0.9847 GB, free: 2.406 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.446e-05/0.7995, allocations: 117.8 kB / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.7995, allocations: 7.859 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.7996, allocations: 7.891 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.7996, allocations: 4 kB / 0.9848 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7996, allocations: 0 / 0.9848 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.7996, allocations: 0 / 0.9848 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.7998, allocations: 169.6 kB / 0.985 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7998, allocations: 0 / 0.985 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.556e-05/0.7999, allocations: 27.97 kB / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.7999, allocations: 3.953 kB / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.7999, allocations: 0 / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7999, allocations: 0 / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7999, allocations: 0 / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.8003, allocations: 215.4 kB / 0.9852 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.8004, allocations: 81.39 kB / 0.9853 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.8004, allocations: 11.94 kB / 0.9853 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.8005, allocations: 15.98 kB / 0.9853 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.8005, allocations: 4 kB / 0.9853 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.8006, allocations: 4 kB / 0.9853 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.8006, allocations: 87.27 kB / 0.9854 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8006, allocations: 0 / 0.9854 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002502/0.8009, allocations: 8 kB / 0.9854 GB, free: 1.559 MB / 0.7325 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 (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.0007741/0.8016, allocations: 0.7553 MB / 0.9862 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.802, allocations: 91.92 kB / 0.9863 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.802, allocations: 0 / 0.9863 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.8021, allocations: 39.97 kB / 0.9863 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.8025, allocations: 17.3 kB / 0.9863 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.803, allocations: 162.2 kB / 0.9865 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.8034, allocations: 0.6848 MB / 0.9871 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.8035, allocations: 4 kB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.8035, allocations: 15.42 kB / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.8035, allocations: 0 / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.8167, allocations: 1.295 MB / 0.9884 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.817, allocations: 195.4 kB / 0.9886 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.624, allocations: 0 / 0.9886 GB, free: 14.31 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat does not exist to compare? outputFormat=mat