Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001946/0.001946, allocations: 78.41 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002462/0.002462, allocations: 168.4 kB / 22.46 MB, free: 5.363 MB / 14.72 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.646/1.646, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.034/3.034, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_12_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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.714e-05/4.991e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003712/0.003762, allocations: 1.433 MB / 0.9828 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003762/0.007524, allocations: 2.394 MB / 0.9851 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.007567, allocations: 0 / 0.9851 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.009276, allocations: 0.5515 MB / 0.9857 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.009335, allocations: 23.84 kB / 0.9857 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.18e-06/0.009341, allocations: 0 / 0.9857 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.00964, allocations: 166.8 kB / 0.9859 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.24e-05/0.009703, allocations: 12.59 kB / 0.9859 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.009834, allocations: 87.67 kB / 0.986 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.009994, allocations: 63.83 kB / 0.986 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.01001, allocations: 4 kB / 0.986 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.01103, allocations: 407.3 kB / 0.9864 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.0111, allocations: 39.83 kB / 0.9864 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.0112, allocations: 59.8 kB / 0.9865 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007099/0.01191, allocations: 446.2 kB / 0.9869 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.01191, allocations: 4 kB / 0.9869 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.977e-06/0.01192, allocations: 4 kB / 0.9869 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.01192, allocations: 0 / 0.9869 GB, free: 6.32 MB / 0.9356 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.0008533/0.01278, allocations: 488.7 kB / 0.9874 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.01282, allocations: 8.031 kB / 0.9874 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.01301, allocations: 108 kB / 0.9875 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.01328, allocations: 243.8 kB / 0.9877 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-05/0.01337, allocations: 154.9 kB / 0.9879 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/0.01345, allocations: 162.9 kB / 0.988 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.348e-05/0.01353, allocations: 105.5 kB / 0.9881 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/0.01357, allocations: 79.41 kB / 0.9882 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.01364, allocations: 150.9 kB / 0.9884 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.425e-05/0.01372, allocations: 154.9 kB / 0.9885 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.0138, allocations: 158.5 kB / 0.9887 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.01425, allocations: 493.2 kB / 0.9891 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.01438, allocations: 173.1 kB / 0.9893 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.01443, allocations: 80.14 kB / 0.9894 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.01448, allocations: 75.28 kB / 0.9895 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/0.01453, allocations: 109.8 kB / 0.9896 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.01453, allocations: 4 kB / 0.9896 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0002056/0.01474, allocations: 53.52 kB / 0.9896 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.01483, allocations: 130.6 kB / 0.9897 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/0.01536, allocations: 445.2 kB / 0.9902 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.01538, allocations: 25.7 kB / 0.9902 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.0155, allocations: 132.6 kB / 0.9903 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-06/0.01551, allocations: 0 / 0.9903 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/0.01561, allocations: 85.67 kB / 0.9904 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.0158, allocations: 342.8 kB / 0.9907 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.01593, allocations: 96.59 kB / 0.9908 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.01612, allocations: 169.9 kB / 0.991 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.01649, allocations: 309.6 kB / 0.9913 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.0165, allocations: 8 kB / 0.9913 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005576/0.01706, allocations: 325.1 kB / 0.9916 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.01708, allocations: 8 kB / 0.9916 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.01709, allocations: 0 / 0.9916 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.0171, allocations: 4 kB / 0.9916 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.949e-06/0.01711, allocations: 3.938 kB / 0.9916 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.01712, allocations: 4 kB / 0.9916 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.01729, allocations: 47.45 kB / 0.9917 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.0173, allocations: 4.219 kB / 0.9917 GB, free: 1.254 MB / 0.9356 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.0002813/0.01758, allocations: 245.1 kB / 0.9919 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.01768, allocations: 132.7 kB / 0.992 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.931e-05/0.01775, allocations: 114.9 kB / 0.9921 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.655e-05/0.01784, allocations: 176.3 kB / 0.9923 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-05/0.01793, allocations: 180.2 kB / 0.9925 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.636e-05/0.018, allocations: 184.2 kB / 0.9926 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.01834, allocations: 436.8 kB / 0.9931 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.147e-05/0.01839, allocations: 105 kB / 0.9932 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.01845, allocations: 101 kB / 0.9933 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-05/0.01852, allocations: 188.2 kB / 0.9934 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/0.01861, allocations: 180.2 kB / 0.9936 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-05/0.01869, allocations: 188.2 kB / 0.9938 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-05/0.01878, allocations: 176.3 kB / 0.994 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.01897, allocations: 327.5 kB / 0.9943 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-05/0.01906, allocations: 128.8 kB / 0.9944 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.01919, allocations: 188.1 kB / 0.9946 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.01933, allocations: 101 kB / 0.9947 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.01943, allocations: 184.2 kB / 0.9948 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.01947, allocations: 104.9 kB / 0.9949 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003108/0.01979, allocations: 279.1 kB / 0.9952 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.01979, allocations: 8 kB / 0.9952 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004517/0.02024, allocations: 83.88 kB / 0.9953 GB, free: 13.34 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.0004652/0.0207, allocations: 311.4 kB / 0.9956 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.02094, allocations: 123.9 kB / 0.9957 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02094, allocations: 0 / 0.9957 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.02095, allocations: 3.938 kB / 0.9957 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.02143, allocations: 465.2 kB / 0.9962 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/0.02217, allocations: 0.4915 MB / 0.9966 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.02236, allocations: 160.2 kB / 0.9968 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.623e-05/0.02238, allocations: 4 kB / 0.9968 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.02241, allocations: 8.5 kB / 0.9968 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.02241, allocations: 0 / 0.9968 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of Templates: time 0.008042/0.03045, allocations: 3.05 MB / 0.9998 GB, free: 8.719 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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: 9.053943157196045]