Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.001/0.001, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009343/0.0009343, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.182/1.182, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.374/2.374, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 64.34 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2112, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002181/0.2134, allocations: 1.473 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.2161, allocations: 2.647 MB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.2161, allocations: 0 / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.2174, allocations: 0.5482 MB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.2175, allocations: 15.91 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.956e-06/0.2175, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.2177, allocations: 178.9 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.2178, allocations: 32.41 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.695e-05/0.2178, allocations: 51.75 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2179, allocations: 83.52 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2179, allocations: 4 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009402/0.2189, allocations: 495.2 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.2189, allocations: 39.81 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.489e-05/0.219, allocations: 99.38 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.2195, allocations: 386.3 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2196, allocations: 7.922 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2196, allocations: 4 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2196, allocations: 4 kB / 1.058 GB, free: 2.145 MB / 0.8106 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.0006121/0.2202, allocations: 0.5451 MB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2202, allocations: 15.95 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.2203, allocations: 106 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.2204, allocations: 99.94 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.2206, allocations: 298.4 kB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.2207, allocations: 158.9 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.2207, allocations: 154.9 kB / 1.059 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.152e-05/0.2208, allocations: 101.5 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.2208, allocations: 83.16 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.2208, allocations: 150.6 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.2209, allocations: 154.6 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.799e-05/0.2209, allocations: 154.6 kB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.2212, allocations: 0.5327 MB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.77e-05/0.2213, allocations: 169.1 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/0.2213, allocations: 92.08 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2213, allocations: 79.28 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2214, allocations: 105.8 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2214, allocations: 0 / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001511/0.2215, allocations: 57.34 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.2216, allocations: 126.7 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.2219, allocations: 437.1 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.222, allocations: 29.7 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.222, allocations: 136.5 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.222, allocations: 0 / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.2221, allocations: 93.66 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.2222, allocations: 338.8 kB / 1.062 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.854e-05/0.2223, allocations: 96.5 kB / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.2225, allocations: 165.3 kB / 1.062 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.2227, allocations: 301.6 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2227, allocations: 3.938 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004179/0.2231, allocations: 329 kB / 1.063 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2232, allocations: 7.938 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2232, allocations: 4 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2232, allocations: 4.219 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.452e-06/0.2232, allocations: 4 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2232, allocations: 0 / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.2233, allocations: 51.22 kB / 1.063 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.2233, allocations: 7.984 kB / 1.063 GB, free: 12.75 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.2235, allocations: 241 kB / 1.063 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.2236, allocations: 124.6 kB / 1.063 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.2236, allocations: 118.9 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.484e-05/0.2237, allocations: 180.2 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.781e-05/0.2237, allocations: 188.3 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.9e-05/0.2238, allocations: 180.2 kB / 1.064 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.224, allocations: 477.2 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.791e-05/0.224, allocations: 108.9 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.417e-05/0.2241, allocations: 101 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.493e-05/0.2241, allocations: 188.1 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.2242, allocations: 180.2 kB / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.076e-05/0.2242, allocations: 180.2 kB / 1.065 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-05/0.2243, allocations: 180.2 kB / 1.065 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.2244, allocations: 335.4 kB / 1.066 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.2245, allocations: 193.8 kB / 1.066 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.2245, allocations: 184.5 kB / 1.066 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.2246, allocations: 112.9 kB / 1.066 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.2247, allocations: 188.3 kB / 1.066 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.2247, allocations: 108.9 kB / 1.067 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002217/0.225, allocations: 275.1 kB / 1.067 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.225, allocations: 0 / 1.067 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003144/0.2253, allocations: 76 kB / 1.067 GB, free: 8.691 MB / 0.8262 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 (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.0004692/0.2258, allocations: 0.9553 MB / 1.068 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.2259, allocations: 167.8 kB / 1.068 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.226, allocations: 0 / 1.068 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.226, allocations: 0 / 1.068 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.2263, allocations: 0.5305 MB / 1.068 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.2287, allocations: 2.945 MB / 1.071 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.229, allocations: 0.7784 MB / 1.072 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.254e-05/0.229, allocations: 0 / 1.072 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.2291, allocations: 63.41 kB / 1.072 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2291, allocations: 0 / 1.072 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3346/0.5637, allocations: 5.997 MB / 1.078 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.5639, allocations: 242.5 kB / 1.078 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.336, allocations: 0 / 1.078 GB, free: 12.97 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches