Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_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.004063/0.004063, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001212/0.001212, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.528/2.528, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 72.08 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6273/0.629, allocations: 159.1 MB / 1.22 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002243/0.6313, allocations: 1.412 MB / 1.222 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002918/0.6342, allocations: 2.682 MB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.6342, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.6355, allocations: 0.5847 MB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.6355, allocations: 19.84 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.6355, allocations: 0 / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.6358, allocations: 158.9 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.165e-05/0.6358, allocations: 32.41 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.6359, allocations: 63.72 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.636, allocations: 71.58 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.6361, allocations: 4 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009197/0.637, allocations: 467.3 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.637, allocations: 43.75 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.05e-05/0.6371, allocations: 91.44 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.6377, allocations: 446 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.6377, allocations: 4 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6378, allocations: 0 / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6378, allocations: 4 kB / 1.226 GB, free: 12 MB / 0.9512 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.0007194/0.6385, allocations: 0.5525 MB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.6385, allocations: 8.031 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.6386, allocations: 106 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.6387, allocations: 108 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.639, allocations: 302.5 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.618e-05/0.639, allocations: 154.9 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/0.6391, allocations: 158.9 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.79e-05/0.6392, allocations: 101.5 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.6392, allocations: 83.2 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.6393, allocations: 154.6 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.588e-05/0.6393, allocations: 154.6 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.529e-05/0.6394, allocations: 150.6 kB / 1.228 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.6398, allocations: 0.5406 MB / 1.229 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/0.6399, allocations: 173.1 kB / 1.229 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.6399, allocations: 80.14 kB / 1.229 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.6399, allocations: 75.28 kB / 1.229 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.64, allocations: 105.8 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.64, allocations: 0 / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001612/0.6402, allocations: 65.38 kB / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.6402, allocations: 134.7 kB / 1.229 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/0.6406, allocations: 433.3 kB / 1.23 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.6407, allocations: 25.7 kB / 1.23 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.6407, allocations: 128.6 kB / 1.23 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/0.6407, allocations: 4 kB / 1.23 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.6408, allocations: 85.67 kB / 1.23 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.641, allocations: 342.8 kB / 1.23 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.6411, allocations: 96.52 kB / 1.23 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.6413, allocations: 173.2 kB / 1.23 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.6416, allocations: 309.6 kB / 1.231 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6416, allocations: 0 / 1.231 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004652/0.642, allocations: 333 kB / 1.231 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.6421, allocations: 16.16 kB / 1.231 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6421, allocations: 0 / 1.231 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.6421, allocations: 4 kB / 1.231 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.6421, allocations: 0 / 1.231 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.6421, allocations: 4 kB / 1.231 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.6422, allocations: 43.52 kB / 1.231 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.6422, allocations: 4 kB / 1.231 GB, free: 6.594 MB / 0.9512 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.0001897/0.6424, allocations: 245.5 kB / 1.231 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.6425, allocations: 136.7 kB / 1.231 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.6426, allocations: 115 kB / 1.232 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.86e-05/0.6427, allocations: 184.2 kB / 1.232 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-05/0.6427, allocations: 176.3 kB / 1.232 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.995e-05/0.6428, allocations: 184.2 kB / 1.232 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.6431, allocations: 481.1 kB / 1.232 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.292e-05/0.6431, allocations: 101 kB / 1.233 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.6432, allocations: 104.9 kB / 1.233 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.478e-05/0.6433, allocations: 184.2 kB / 1.233 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/0.6433, allocations: 184.2 kB / 1.233 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.895e-05/0.6434, allocations: 188.2 kB / 1.233 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.265e-05/0.6435, allocations: 180.3 kB / 1.233 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.6436, allocations: 327.8 kB / 1.234 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.6437, allocations: 205.9 kB / 1.234 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.6438, allocations: 188.2 kB / 1.234 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.644, allocations: 105 kB / 1.234 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.6441, allocations: 184.2 kB / 1.234 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.6441, allocations: 105 kB / 1.234 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002544/0.6444, allocations: 275.1 kB / 1.235 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.6444, allocations: 0 / 1.235 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000319/0.6447, allocations: 83.92 kB / 1.235 GB, free: 2.52 MB / 0.9512 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.0005951/0.6453, allocations: 0.9665 MB / 1.236 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.6455, allocations: 163.8 kB / 1.236 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6455, allocations: 0 / 1.236 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.6455, allocations: 4 kB / 1.236 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.6459, allocations: 465.6 kB / 1.236 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.6485, allocations: 2.932 MB / 1.239 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.6489, allocations: 0.7782 MB / 1.24 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.049e-05/0.6489, allocations: 3.906 kB / 1.24 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.649, allocations: 59.41 kB / 1.24 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.649, allocations: 0 / 1.24 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4212/1.07, allocations: 6.464 MB / 1.246 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/9.56, allocations: 9.688 kB / 1.246 GB, free: 6.66 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches