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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 106.1 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 497.2 MB / 0.7811 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 68.02 kB / 1.134 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3247, allocations: 173.9 MB / 1.304 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002673/0.3274, allocations: 1.399 MB / 1.305 GB, free: 208 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002511/0.3299, allocations: 1.939 MB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.3299, allocations: 0 / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.331, allocations: 389.9 kB / 1.308 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.783e-05/0.331, allocations: 19.91 kB / 1.308 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.331, allocations: 0 / 1.308 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.3313, allocations: 131.1 kB / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.3313, allocations: 13.5 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.3314, allocations: 43.8 kB / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3315, allocations: 63.7 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3315, allocations: 4 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.332, allocations: 183.9 kB / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.332, allocations: 35.83 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.3321, allocations: 67.61 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.3326, allocations: 295 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3326, allocations: 7.938 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3326, allocations: 0 / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3326, allocations: 0 / 1.308 GB, free: 13.02 MB / 1.014 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.0007749/0.3334, allocations: 494.4 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.3334, allocations: 12.92 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.343e-05/0.3335, allocations: 110 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3337, allocations: 104 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.3339, allocations: 291.4 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-05/0.334, allocations: 150.9 kB / 1.31 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/0.3341, allocations: 154.9 kB / 1.31 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.866e-05/0.3342, allocations: 104.9 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/0.3342, allocations: 79.28 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.3343, allocations: 158.5 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.83e-05/0.3344, allocations: 150.6 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.3345, allocations: 154.5 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.3349, allocations: 0.5056 MB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.335, allocations: 169.1 kB / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.3351, allocations: 88.08 kB / 1.311 GB, free: 10.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.3351, allocations: 79.22 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.737e-05/0.3352, allocations: 105.8 kB / 1.311 GB, free: 9.977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.3352, allocations: 0 / 1.311 GB, free: 9.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001813/0.3354, allocations: 53.53 kB / 1.311 GB, free: 9.918 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.3354, allocations: 134.7 kB / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.3358, allocations: 318.3 kB / 1.312 GB, free: 9.453 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3358, allocations: 29.69 kB / 1.312 GB, free: 9.418 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.3359, allocations: 120.5 kB / 1.312 GB, free: 9.293 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.3359, allocations: 0 / 1.312 GB, free: 9.293 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/0.336, allocations: 61.69 kB / 1.312 GB, free: 9.227 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3362, allocations: 330.8 kB / 1.312 GB, free: 8.895 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.3363, allocations: 59.95 kB / 1.312 GB, free: 8.836 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.3364, allocations: 133.7 kB / 1.312 GB, free: 8.684 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.3367, allocations: 201.9 kB / 1.313 GB, free: 8.465 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3367, allocations: 0 / 1.313 GB, free: 8.465 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004358/0.3371, allocations: 245.5 kB / 1.313 GB, free: 8.219 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3371, allocations: 9.406 kB / 1.313 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3371, allocations: 0 / 1.313 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3371, allocations: 4 kB / 1.313 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-06/0.3371, allocations: 3.984 kB / 1.313 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3371, allocations: 4 kB / 1.313 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.3373, allocations: 27.73 kB / 1.313 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.3373, allocations: 4 kB / 1.313 GB, free: 8.168 MB / 1.014 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.0002391/0.3375, allocations: 221.1 kB / 1.313 GB, free: 7.941 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.603e-05/0.3376, allocations: 136.7 kB / 1.313 GB, free: 7.801 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.3377, allocations: 113.9 kB / 1.313 GB, free: 7.676 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.968e-05/0.3378, allocations: 184.2 kB / 1.313 GB, free: 7.488 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-05/0.3378, allocations: 176.3 kB / 1.314 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.762e-05/0.3379, allocations: 180.3 kB / 1.314 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.3383, allocations: 457.1 kB / 1.314 GB, free: 6.621 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/0.3383, allocations: 108.9 kB / 1.314 GB, free: 6.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.473e-05/0.3384, allocations: 104.9 kB / 1.314 GB, free: 6.398 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.606e-05/0.3385, allocations: 180.3 kB / 1.315 GB, free: 6.215 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/0.3385, allocations: 180.3 kB / 1.315 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.569e-05/0.3386, allocations: 184.2 kB / 1.315 GB, free: 5.844 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.249e-05/0.3387, allocations: 188.2 kB / 1.315 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.3389, allocations: 315.7 kB / 1.315 GB, free: 5.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.339, allocations: 201.9 kB / 1.316 GB, free: 5.098 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.3391, allocations: 184.2 kB / 1.316 GB, free: 4.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3393, allocations: 105 kB / 1.316 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.3393, allocations: 180.2 kB / 1.316 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.3394, allocations: 109.3 kB / 1.316 GB, free: 4.504 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002089/0.3396, allocations: 209.9 kB / 1.316 GB, free: 4.301 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3396, allocations: 0 / 1.316 GB, free: 4.301 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003883/0.34, allocations: 71.86 kB / 1.316 GB, free: 4.23 MB / 1.014 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.000731/0.3407, allocations: 0.9281 MB / 1.317 GB, free: 3.277 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.3409, allocations: 83.89 kB / 1.317 GB, free: 3.195 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3409, allocations: 0 / 1.317 GB, free: 3.195 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.3409, allocations: 0 / 1.317 GB, free: 3.195 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.3414, allocations: 460.2 kB / 1.318 GB, free: 2.742 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.344, allocations: 2.453 MB / 1.32 GB, free: 168 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.3445, allocations: 0.7355 MB / 1.321 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.3445, allocations: 7.984 kB / 1.321 GB, free: 15.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.3445, allocations: 35.36 kB / 1.321 GB, free: 15.36 MB / 1.029 GB Notification: Performance of SimCode: time 4.9e-07/0.3445, allocations: 4 kB / 1.321 GB, free: 15.36 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.3739, allocations: 4.869 MB / 1.326 GB, free: 10.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/8.965, allocations: 5.484 kB / 1.326 GB, free: 10.64 MB / 1.029 GB " [Timeout remaining time 291] (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/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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.559859646018595]