Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.0008234/0.0008234, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008859/0.0008859, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.86/0.86, allocations: 177.1 MB / 202.8 MB, free: 5.734 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 1.704/1.704, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.625e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01362/0.01363, allocations: 19.11 MB / 1.018 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006848/0.02048, allocations: 6.398 MB / 1.025 GB, free: 3.898 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007233/0.0212, allocations: 115.2 kB / 1.025 GB, free: 3.785 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.02363, allocations: 2.257 MB / 1.027 GB, free: 1.523 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.02513, allocations: 1.274 MB / 1.028 GB, free: 248 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.0268, allocations: 1.297 MB / 1.029 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003008/0.02981, allocations: 4.939 MB / 1.034 GB, free: 9.992 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.0323, allocations: 3.162 MB / 1.037 GB, free: 6.762 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.03459, allocations: 3.013 MB / 1.04 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.03636, allocations: 2.182 MB / 1.042 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.03669, allocations: 432 kB / 1.043 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.03775, allocations: 0.9553 MB / 1.044 GB, free: 180 kB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.4428/0.4805, allocations: 1.783 MB / 1.045 GB, free: 54.33 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.482, allocations: 1.336 MB / 1.047 GB, free: 54.33 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003442/0.4854, allocations: 6.642 MB / 1.053 GB, free: 54.16 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4854, allocations: 0.5312 kB / 1.053 GB, free: 54.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4854, allocations: 2.906 kB / 1.053 GB, free: 54.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.879e-05/0.4855, allocations: 0 / 1.053 GB, free: 54.16 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003092/0.4885, allocations: 3.431 MB / 1.057 GB, free: 52.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4886, allocations: 16.19 kB / 1.057 GB, free: 52.79 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003588/0.4889, allocations: 454.3 kB / 1.057 GB, free: 52.73 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.4905, allocations: 0.66 MB / 1.058 GB, free: 52.55 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.4924, allocations: 1.991 MB / 1.06 GB, free: 52.11 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.29e-05/0.4925, allocations: 221.5 kB / 1.06 GB, free: 52.11 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002974/0.4928, allocations: 294.8 kB / 1.06 GB, free: 52.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003902/0.4967, allocations: 5.247 MB / 1.065 GB, free: 50.77 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.778e-05/0.4967, allocations: 8.938 kB / 1.065 GB, free: 50.77 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.4969, allocations: 133.1 kB / 1.065 GB, free: 50.67 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/0.4971, allocations: 231.4 kB / 1.066 GB, free: 50.65 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.5001, allocations: 3.74 MB / 1.069 GB, free: 49.4 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009227/0.5093, allocations: 13.56 MB / 1.083 GB, free: 40.92 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.5105, allocations: 1.227 MB / 1.084 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009171/0.5114, allocations: 0.9893 MB / 1.085 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.5114, allocations: 14.34 kB / 1.085 GB, free: 40.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.5115, allocations: 49.58 kB / 1.085 GB, free: 40.05 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=107): time 2.946e-06/0.5115, allocations: 0 / 1.085 GB, free: 40.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138): time 0.01317/0.5246, allocations: 8.428 MB / 1.093 GB, free: 37.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.5247, allocations: 70.23 kB / 1.093 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.5258, allocations: 1.153 MB / 1.094 GB, free: 37 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.5259, allocations: 52.33 kB / 1.094 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005/0.5264, allocations: 1.337 MB / 1.096 GB, free: 35.92 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.5266, allocations: 495.7 kB / 1.096 GB, free: 35.54 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/0.5269, allocations: 290.5 kB / 1.096 GB, free: 35.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.6e-05/0.5269, allocations: 306.8 kB / 1.097 GB, free: 35.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008885/0.5278, allocations: 0.9087 MB / 1.097 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.5289, allocations: 1.328 MB / 1.099 GB, free: 33.94 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/0.5309, allocations: 2.426 MB / 1.101 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5309, allocations: 7.375 kB / 1.101 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003762/0.5346, allocations: 3.432 MB / 1.105 GB, free: 31.38 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.5346, allocations: 13.69 kB / 1.105 GB, free: 31.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.5347, allocations: 12.81 kB / 1.105 GB, free: 31.37 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.5365, allocations: 1.177 MB / 1.106 GB, free: 31.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.5371, allocations: 258.9 kB / 1.106 GB, free: 31.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.5477, allocations: 13.36 MB / 1.119 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/0.5485, allocations: 92.19 kB / 1.119 GB, free: 23.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.5485, allocations: 63.48 kB / 1.119 GB, free: 23.04 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001573/0.5501, allocations: 1.11 MB / 1.12 GB, free: 22.54 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.5503, allocations: 163.9 kB / 1.12 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/0.5539, allocations: 3.134 MB / 1.123 GB, free: 21.22 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.5539, allocations: 14.69 kB / 1.123 GB, free: 21.22 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.5539, allocations: 11.09 kB / 1.123 GB, free: 21.22 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.554, allocations: 7.875 kB / 1.123 GB, free: 21.22 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007088/0.561, allocations: 5.919 MB / 1.129 GB, free: 18.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5611, allocations: 5.094 kB / 1.129 GB, free: 18.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.5614, allocations: 150 kB / 1.129 GB, free: 18.85 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/0.563, allocations: 1.069 MB / 1.13 GB, free: 18.57 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.5631, allocations: 30.5 kB / 1.13 GB, free: 18.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009929/0.573, allocations: 13.03 MB / 1.143 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.573, allocations: 10.88 kB / 1.143 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.5761, allocations: 3.111 MB / 1.146 GB, free: 9.344 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/0.5766, allocations: 360.8 kB / 1.147 GB, free: 9.156 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.5767, allocations: 31.92 kB / 1.147 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.5771, allocations: 77.33 kB / 1.147 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.5773, allocations: 137.2 kB / 1.147 GB, free: 9.098 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.5774, allocations: 40.53 kB / 1.147 GB, free: 9.086 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007211/0.5781, allocations: 0.7644 MB / 1.148 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.1e-08/0.5781, allocations: 0 / 1.148 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001805/0.5799, allocations: 0.6621 MB / 1.148 GB, free: 8.719 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003157/0.5831, allocations: 3.696 MB / 1.152 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002963/0.586, allocations: 3.002 MB / 1.155 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.586, allocations: 0 / 1.155 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.5875, allocations: 1.879 MB / 1.157 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.5887, allocations: 0.5046 MB / 1.157 GB, free: 4.422 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.6061, allocations: 19.22 MB / 1.176 GB, free: 8.125 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/0.6076, allocations: 1.761 MB / 1.178 GB, free: 6.332 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006871/0.6083, allocations: 350.1 kB / 1.178 GB, free: 5.984 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000757/0.609, allocations: 1.012 MB / 1.179 GB, free: 4.969 MB / 1.01 GB Notification: Performance of SimCode: time 8.91e-07/0.609, allocations: 0 / 1.179 GB, free: 4.969 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06099/0.67, allocations: 55.89 MB / 1.233 GB, free: 13.99 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.435, allocations: 3.938 kB / 1.233 GB, free: 13.98 MB / 1.073 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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: 12.569443611428142]