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.001124/0.001124, allocations: 91.84 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.001472/0.001472, 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.421/1.421, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.548/2.548, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003977, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/0.7808, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001743/0.7826, allocations: 1.104 MB / 0.9822 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.7848, allocations: 1.754 MB / 0.9839 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.7848, allocations: 0 / 0.9839 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009088/0.7857, allocations: 345 kB / 0.9843 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.7858, allocations: 15.91 kB / 0.9843 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.7858, allocations: 0 / 0.9843 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.786, allocations: 139.1 kB / 0.9844 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.934e-05/0.7861, allocations: 17.5 kB / 0.9844 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.5e-05/0.7861, allocations: 39.88 kB / 0.9845 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.7863, allocations: 71.7 kB / 0.9845 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.7863, allocations: 4 kB / 0.9845 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.7867, allocations: 171.9 kB / 0.9847 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.7868, allocations: 31.84 kB / 0.9847 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.7868, allocations: 49.64 kB / 0.9848 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.7871, allocations: 209.4 kB / 0.985 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7871, allocations: 0 / 0.985 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7871, allocations: 0 / 0.985 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.7871, allocations: 0 / 0.985 GB, free: 2.277 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.0006354/0.7877, allocations: 486.4 kB / 0.9854 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.7878, allocations: 8.031 kB / 0.9854 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.7878, allocations: 105.8 kB / 0.9855 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.788, allocations: 95.09 kB / 0.9856 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.7882, allocations: 290 kB / 0.9859 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.7883, allocations: 154.6 kB / 0.9861 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.7883, allocations: 154.6 kB / 0.9862 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.328e-05/0.7884, allocations: 104.9 kB / 0.9863 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.7884, allocations: 79.22 kB / 0.9864 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.7885, allocations: 150.6 kB / 0.9865 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.7885, allocations: 154.6 kB / 0.9867 GB, free: 432 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.758e-05/0.7886, allocations: 162.5 kB / 0.9868 GB, free: 268 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.7889, allocations: 0.4978 MB / 0.9873 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.789, allocations: 173.1 kB / 0.9875 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.789, allocations: 84.08 kB / 0.9876 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.7891, allocations: 79.28 kB / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.7891, allocations: 109.8 kB / 0.9877 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7891, allocations: 0 / 0.9877 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001518/0.7893, allocations: 49.52 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.7893, allocations: 130.7 kB / 0.9879 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.7896, allocations: 318.3 kB / 0.9882 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.7896, allocations: 29.64 kB / 0.9882 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.7897, allocations: 124.4 kB / 0.9884 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.7897, allocations: 0 / 0.9884 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.7897, allocations: 0 / 0.9884 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.7898, allocations: 330.8 kB / 0.9887 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.7899, allocations: 59.95 kB / 0.9887 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.79, allocations: 118 kB / 0.9888 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.7902, allocations: 79.97 kB / 0.9889 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7902, allocations: 0 / 0.9889 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003877/0.7906, allocations: 241.2 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7906, allocations: 4 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7906, allocations: 7.984 kB / 0.9892 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7906, allocations: 3.953 kB / 0.9892 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.7906, allocations: 4 kB / 0.9892 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7906, allocations: 0 / 0.9892 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.7908, allocations: 35.75 kB / 0.9892 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.7908, allocations: 4 kB / 0.9892 GB, free: 13.68 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.0001783/0.791, allocations: 229.6 kB / 0.9894 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.791, allocations: 112.8 kB / 0.9895 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.7911, allocations: 113.8 kB / 0.9896 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-05/0.7911, allocations: 184.2 kB / 0.9898 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.516e-05/0.7912, allocations: 184.2 kB / 0.99 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-05/0.7913, allocations: 184.2 kB / 0.9902 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.7915, allocations: 449.2 kB / 0.9906 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.294e-05/0.7916, allocations: 101 kB / 0.9907 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.7916, allocations: 109.1 kB / 0.9908 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.788e-05/0.7917, allocations: 188.2 kB / 0.991 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.7918, allocations: 184.2 kB / 0.9912 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-05/0.7918, allocations: 180.3 kB / 0.9913 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.265e-05/0.7919, allocations: 176.3 kB / 0.9915 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.792, allocations: 327.5 kB / 0.9918 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/0.7921, allocations: 205.8 kB / 0.992 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.7922, allocations: 180.2 kB / 0.9922 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.7923, allocations: 105 kB / 0.9923 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.7924, allocations: 184.1 kB / 0.9925 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.7924, allocations: 101 kB / 0.9925 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001932/0.7926, allocations: 217.9 kB / 0.9928 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7926, allocations: 0 / 0.9928 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000351/0.793, allocations: 67.98 kB / 0.9928 GB, free: 9.754 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.0005369/0.7935, allocations: 0.914 MB / 0.9937 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.7937, allocations: 99.89 kB / 0.9938 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7937, allocations: 0 / 0.9938 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.7937, allocations: 0 / 0.9938 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.7941, allocations: 0.5366 MB / 0.9943 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.7955, allocations: 1.192 MB / 0.9955 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.7958, allocations: 0.7472 MB / 0.9962 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.422e-05/0.7958, allocations: 0 / 0.9962 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.7959, allocations: 39.42 kB / 0.9963 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.7959, allocations: 0 / 0.9963 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.8099, allocations: 4.485 MB / 1.001 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.8101, allocations: 209.1 kB / 1.001 GB, free: 1.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.658, allocations: 0 / 1.001 GB, free: 1.57 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