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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 80.81 kB / 19.94 MB, free: 4.539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 181.3 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.469/2.469, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.733e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00322/0.003247, allocations: 1.52 MB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003726/0.006973, allocations: 2.635 MB / 0.8427 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.007008, allocations: 4 kB / 0.8427 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.008498, allocations: 0.5746 MB / 0.8432 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.008557, allocations: 27.78 kB / 0.8432 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.297e-06/0.00856, allocations: 0 / 0.8432 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.008803, allocations: 166.8 kB / 0.8434 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.015e-05/0.008863, allocations: 26.52 kB / 0.8434 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.008973, allocations: 83.73 kB / 0.8435 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.009103, allocations: 63.83 kB / 0.8436 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.009117, allocations: 0 / 0.8436 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008491/0.009966, allocations: 419.4 kB / 0.844 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.01003, allocations: 35.83 kB / 0.844 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.919e-05/0.01012, allocations: 63.8 kB / 0.8441 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.01072, allocations: 426.1 kB / 0.8445 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.01072, allocations: 4 kB / 0.8445 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01072, allocations: 0 / 0.8445 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.01073, allocations: 4 kB / 0.8445 GB, free: 8.109 MB / 0.8073 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.0006717/0.0114, allocations: 459.3 kB / 0.8449 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.01144, allocations: 8.031 kB / 0.8449 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.01159, allocations: 92.14 kB / 0.845 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.01178, allocations: 243.8 kB / 0.8452 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.01183, allocations: 154.9 kB / 0.8454 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.01188, allocations: 154.9 kB / 0.8455 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.564e-05/0.01193, allocations: 109.5 kB / 0.8456 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.01196, allocations: 75.47 kB / 0.8457 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.012, allocations: 150.9 kB / 0.8459 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/0.01205, allocations: 154.9 kB / 0.846 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.954e-05/0.0121, allocations: 166.4 kB / 0.8462 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.01233, allocations: 373.1 kB / 0.8465 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.19e-05/0.01241, allocations: 177.1 kB / 0.8467 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.01244, allocations: 88.19 kB / 0.8468 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.01247, allocations: 75.28 kB / 0.8468 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.01252, allocations: 109.8 kB / 0.847 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.01252, allocations: 0 / 0.847 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0001642/0.01268, allocations: 45.62 kB / 0.847 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.01273, allocations: 126.7 kB / 0.8471 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.01305, allocations: 343 kB / 0.8474 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.01307, allocations: 25.7 kB / 0.8475 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.01313, allocations: 132.5 kB / 0.8476 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.01314, allocations: 0 / 0.8476 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.01323, allocations: 93.56 kB / 0.8477 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.01334, allocations: 342.7 kB / 0.848 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.01343, allocations: 47.48 kB / 0.8481 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.292e-05/0.01352, allocations: 101.8 kB / 0.8482 GB, free: 4.156 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.01373, allocations: 213.5 kB / 0.8484 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01374, allocations: 0 / 0.8484 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004052/0.01414, allocations: 249.1 kB / 0.8486 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.01416, allocations: 8 kB / 0.8486 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.01417, allocations: 0 / 0.8486 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.01418, allocations: 4 kB / 0.8486 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-06/0.01419, allocations: 3.984 kB / 0.8486 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.01419, allocations: 7.938 kB / 0.8486 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.01432, allocations: 43.52 kB / 0.8487 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.01433, allocations: 4 kB / 0.8487 GB, free: 3.59 MB / 0.8073 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.0001165/0.01444, allocations: 196.1 kB / 0.8489 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.0145, allocations: 113 kB / 0.849 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.01455, allocations: 114.8 kB / 0.8491 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000322/0.01487, allocations: 180.2 kB / 0.8492 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.786e-05/0.01492, allocations: 184.2 kB / 0.8494 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.495e-05/0.01497, allocations: 176.3 kB / 0.8496 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.01519, allocations: 365.3 kB / 0.8499 GB, free: 2.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-05/0.01521, allocations: 104.9 kB / 0.85 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.01524, allocations: 109 kB / 0.8501 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.001e-05/0.01529, allocations: 180.2 kB / 0.8503 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.01535, allocations: 180.3 kB / 0.8505 GB, free: 1.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.183e-05/0.0154, allocations: 188.3 kB / 0.8507 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.312e-05/0.01545, allocations: 184.4 kB / 0.8508 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.01558, allocations: 315.7 kB / 0.8511 GB, free: 0.918 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.01565, allocations: 128.8 kB / 0.8513 GB, free: 0.7852 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.01573, allocations: 184.2 kB / 0.8514 GB, free: 0.5977 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.01586, allocations: 105 kB / 0.8515 GB, free: 500 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.01591, allocations: 180.2 kB / 0.8517 GB, free: 312 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.01594, allocations: 104.9 kB / 0.8518 GB, free: 200 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001437/0.01609, allocations: 124.7 kB / 0.8519 GB, free: 72 kB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01609, allocations: 0 / 0.8519 GB, free: 72 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004012/0.01649, allocations: 87.97 kB / 0.852 GB, free: 15.98 MB / 0.823 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.0003972/0.01689, allocations: 305.5 kB / 0.8523 GB, free: 15.68 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.01703, allocations: 74.06 kB / 0.8524 GB, free: 15.61 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.01704, allocations: 4 kB / 0.8524 GB, free: 15.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.01704, allocations: 0 / 0.8524 GB, free: 15.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.01738, allocations: 477 kB / 0.8528 GB, free: 15.13 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007607/0.01814, allocations: 452.3 kB / 0.8533 GB, free: 14.66 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.187e-05/0.01821, allocations: 95.28 kB / 0.8534 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.225e-05/0.01823, allocations: 0 / 0.8534 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.01828, allocations: 55.38 kB / 0.8534 GB, free: 14.49 MB / 0.823 GB Notification: Performance of SimCode: time 7.92e-07/0.01828, allocations: 0 / 0.8534 GB, free: 14.49 MB / 0.823 GB Notification: Performance of Templates: time 0.007443/0.02573, allocations: 4.337 MB / 0.8576 GB, free: 10.16 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.402367520611733]