Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",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.001746/0.001746, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.00205/0.00205, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.639/2.639, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.88/4.88, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005961/0.0005961, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641/1.642, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00357/1.645, allocations: 1.096 MB / 0.9819 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00449/1.65, allocations: 1.627 MB / 0.9835 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/1.65, allocations: 0 / 0.9835 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/1.652, allocations: 362.6 kB / 0.9839 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/1.652, allocations: 19.97 kB / 0.9839 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.769e-06/1.652, allocations: 0 / 0.9839 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/1.652, allocations: 103.8 kB / 0.984 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/1.653, allocations: 21.48 kB / 0.984 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/1.653, allocations: 35.88 kB / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/1.653, allocations: 59.77 kB / 0.9841 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/1.653, allocations: 4 kB / 0.9841 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008509/1.654, allocations: 231.8 kB / 0.9843 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.304e-05/1.654, allocations: 27.91 kB / 0.9844 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/1.654, allocations: 57.58 kB / 0.9844 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000473/1.654, allocations: 169.9 kB / 0.9846 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.654, allocations: 0 / 0.9846 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.14e-06/1.654, allocations: 0 / 0.9846 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.654, allocations: 0 / 0.9846 GB, free: 2.473 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001178/1.656, allocations: 478.4 kB / 0.985 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.633e-05/1.656, allocations: 8.031 kB / 0.985 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.361e-05/1.656, allocations: 109.8 kB / 0.9851 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/1.656, allocations: 95.09 kB / 0.9852 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/1.657, allocations: 294 kB / 0.9855 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/1.657, allocations: 150.6 kB / 0.9857 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/1.657, allocations: 150.6 kB / 0.9858 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/1.657, allocations: 108.9 kB / 0.9859 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/1.657, allocations: 83.22 kB / 0.986 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/1.657, allocations: 150.6 kB / 0.9861 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.623e-05/1.657, allocations: 154.6 kB / 0.9863 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.643e-05/1.657, allocations: 154.5 kB / 0.9864 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/1.658, allocations: 0.5017 MB / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/1.658, allocations: 173.1 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.602e-05/1.658, allocations: 79.22 kB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.531e-05/1.658, allocations: 109.8 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/1.658, allocations: 0 / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0003054/1.659, allocations: 53.5 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/1.659, allocations: 126.7 kB / 0.9874 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005602/1.659, allocations: 322.3 kB / 0.9877 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/1.659, allocations: 25.7 kB / 0.9878 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/1.66, allocations: 116.4 kB / 0.9879 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/1.66, allocations: 0 / 0.9879 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/1.66, allocations: 4 kB / 0.9879 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003892/1.66, allocations: 338.8 kB / 0.9882 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/1.66, allocations: 59.95 kB / 0.9883 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/1.66, allocations: 122 kB / 0.9884 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/1.661, allocations: 75.97 kB / 0.9884 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.661, allocations: 0 / 0.9884 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007011/1.661, allocations: 229.2 kB / 0.9887 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/1.661, allocations: 9.719 kB / 0.9887 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.661, allocations: 0 / 0.9887 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.661, allocations: 4.219 kB / 0.9887 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-06/1.661, allocations: 7.953 kB / 0.9887 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/1.661, allocations: 4 kB / 0.9887 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/1.662, allocations: 31.53 kB / 0.9887 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/1.662, allocations: 4 kB / 0.9887 GB, free: 13.97 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0003508/1.662, allocations: 225.1 kB / 0.9889 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/1.662, allocations: 116.7 kB / 0.989 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/1.662, allocations: 117.8 kB / 0.9892 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001308/1.662, allocations: 188.2 kB / 0.9893 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00013/1.663, allocations: 184.2 kB / 0.9895 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001124/1.663, allocations: 176.3 kB / 0.9897 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/1.663, allocations: 457.1 kB / 0.9901 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-05/1.663, allocations: 101 kB / 0.9902 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/1.663, allocations: 112.9 kB / 0.9903 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.571e-05/1.663, allocations: 180.2 kB / 0.9905 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/1.664, allocations: 180.2 kB / 0.9907 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001024/1.664, allocations: 180.2 kB / 0.9908 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001038/1.664, allocations: 184.3 kB / 0.991 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/1.664, allocations: 323.5 kB / 0.9913 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/1.664, allocations: 205.8 kB / 0.9915 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/1.664, allocations: 180.5 kB / 0.9917 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/1.665, allocations: 105 kB / 0.9918 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.665, allocations: 188.2 kB / 0.992 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/1.665, allocations: 104.9 kB / 0.9921 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000384/1.665, allocations: 213.9 kB / 0.9923 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/1.665, allocations: 0 / 0.9923 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006586/1.666, allocations: 67.94 kB / 0.9923 GB, free: 10.04 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001106/1.667, allocations: 0.9139 MB / 0.9932 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003263/1.667, allocations: 99.89 kB / 0.9933 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.667, allocations: 448 / 0.9933 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/1.667, allocations: 4 kB / 0.9933 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/1.668, allocations: 0.5307 MB / 0.9939 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/1.671, allocations: 1.591 MB / 0.9954 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/1.672, allocations: 0.7433 MB / 0.9961 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.902e-05/1.672, allocations: 0 / 0.9961 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/1.672, allocations: 42.42 kB / 0.9962 GB, free: 5.977 MB / 0.7481 GB Notification: Performance of SimCode: time 7.71e-07/1.672, allocations: 3.938 kB / 0.9962 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/1.709, allocations: 4.316 MB / 1 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005751/1.71, allocations: 210.8 kB / 1.001 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.819/5.529, allocations: 0 / 1.001 GB, free: 1.598 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat does not exist to compare? outputFormat=mat