Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001609/0.001609, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001615/0.001615, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.43/1.43, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.78/2.78, allocations: 476.7 MB / 0.7629 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] 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.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.89 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.8117, allocations: 168.7 MB / 1.272 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005557/0.8172, allocations: 5.055 MB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003534/0.8208, allocations: 2.553 MB / 1.279 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/0.8211, allocations: 24.75 kB / 1.279 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.8222, allocations: 429.1 kB / 1.279 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009317/0.8231, allocations: 475.2 kB / 1.28 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.8239, allocations: 397.8 kB / 1.28 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.825, allocations: 0.9247 MB / 1.281 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004402/0.8254, allocations: 265.9 kB / 1.281 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004636/0.8259, allocations: 338.9 kB / 1.282 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.8263, allocations: 369.1 kB / 1.282 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.989e-05/0.8264, allocations: 37.91 kB / 1.282 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006792/0.8271, allocations: 417.4 kB / 1.282 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.8272, allocations: 193.4 kB / 1.283 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.8275, allocations: 313.1 kB / 1.283 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009787/0.8284, allocations: 0.9008 MB / 1.284 GB, free: 232 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8284, allocations: 0.6094 kB / 1.284 GB, free: 232 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8284, allocations: 1.375 kB / 1.284 GB, free: 232 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.8285, allocations: 0 / 1.284 GB, free: 232 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0014/0.8299, allocations: 0.9637 MB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.8299, allocations: 8.5 kB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.83, allocations: 95.06 kB / 1.285 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.8313, allocations: 211.4 kB / 1.285 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000846/0.8321, allocations: 0.5527 MB / 1.286 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.8322, allocations: 39.08 kB / 1.286 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.47e-05/0.8322, allocations: 40.95 kB / 1.286 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.8334, allocations: 0.8482 MB / 1.287 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.8334, allocations: 12.56 kB / 1.287 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.8335, allocations: 22.73 kB / 1.287 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.296e-05/0.8336, allocations: 68.33 kB / 1.287 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008739/0.8344, allocations: 0.5652 MB / 1.287 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004954/0.8394, allocations: 5.654 MB / 1.293 GB, free: 9.031 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.8401, allocations: 421.3 kB / 1.293 GB, free: 8.875 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.8404, allocations: 202.9 kB / 1.293 GB, free: 8.805 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.8404, allocations: 3.156 kB / 1.293 GB, free: 8.805 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.8404, allocations: 37.12 kB / 1.293 GB, free: 8.762 MB / 1.014 GB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.8404, allocations: 0 / 1.293 GB, free: 8.762 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002692/0.8431, allocations: 1.516 MB / 1.295 GB, free: 7.812 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.8432, allocations: 60.64 kB / 1.295 GB, free: 7.746 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.8437, allocations: 0.5037 MB / 1.295 GB, free: 7.508 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.8438, allocations: 31.7 kB / 1.295 GB, free: 7.473 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.8441, allocations: 369.7 kB / 1.296 GB, free: 7.172 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.8442, allocations: 126.7 kB / 1.296 GB, free: 7.074 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.8443, allocations: 107.9 kB / 1.296 GB, free: 7.016 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.8445, allocations: 364.6 kB / 1.296 GB, free: 6.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.8448, allocations: 197.5 kB / 1.296 GB, free: 6.617 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/0.8453, allocations: 446.8 kB / 1.297 GB, free: 6.223 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/0.8463, allocations: 0.6914 MB / 1.298 GB, free: 5.691 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8463, allocations: 2.438 kB / 1.298 GB, free: 5.691 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001338/0.8476, allocations: 0.8161 MB / 1.298 GB, free: 5.324 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8476, allocations: 11.06 kB / 1.298 GB, free: 5.324 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.8476, allocations: 9.531 kB / 1.298 GB, free: 5.324 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/0.8482, allocations: 158.1 kB / 1.299 GB, free: 5.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.8486, allocations: 121.9 kB / 1.299 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.8528, allocations: 4.342 MB / 1.303 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.8532, allocations: 33.05 kB / 1.303 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.8532, allocations: 32.41 kB / 1.303 GB, free: 0.9531 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003093/0.8535, allocations: 212.2 kB / 1.303 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.8536, allocations: 66.67 kB / 1.303 GB, free: 0.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.8548, allocations: 0.601 MB / 1.304 GB, free: 472 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.8548, allocations: 3.719 kB / 1.304 GB, free: 472 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.8548, allocations: 6.047 kB / 1.304 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.8548, allocations: 2.859 kB / 1.304 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.8568, allocations: 1.261 MB / 1.305 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.8568, allocations: 1.594 kB / 1.305 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.8571, allocations: 54.28 kB / 1.305 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/0.8575, allocations: 143.4 kB / 1.305 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.8576, allocations: 11.62 kB / 1.305 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003939/0.8615, allocations: 4.33 MB / 1.31 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8615, allocations: 6.812 kB / 1.31 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.8627, allocations: 0.7176 MB / 1.31 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.8629, allocations: 175 kB / 1.31 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/0.863, allocations: 8.875 kB / 1.31 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.8633, allocations: 25.84 kB / 1.31 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.8633, allocations: 36.05 kB / 1.31 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.8634, allocations: 9.016 kB / 1.31 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004328/0.8638, allocations: 338.9 kB / 1.311 GB, free: 10.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8638, allocations: 0 / 1.311 GB, free: 10.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000647/0.8645, allocations: 146.6 kB / 1.311 GB, free: 10.62 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.8659, allocations: 1.268 MB / 1.312 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.8674, allocations: 1.012 MB / 1.313 GB, free: 8.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8674, allocations: 1.531 kB / 1.313 GB, free: 8.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009673/0.8684, allocations: 0.7289 MB / 1.314 GB, free: 8.332 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.8695, allocations: 198.6 kB / 1.314 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007797/0.8773, allocations: 5.167 MB / 1.319 GB, free: 4.969 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.8779, allocations: 0.909 MB / 1.32 GB, free: 4.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000405/0.8783, allocations: 111 kB / 1.32 GB, free: 4.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.8786, allocations: 204.3 kB / 1.32 GB, free: 4.082 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/0.8786, allocations: 0 / 1.32 GB, free: 4.082 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05031/0.9289, allocations: 12.96 MB / 1.333 GB, free: 2.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.58, allocations: 13.59 kB / 1.333 GB, free: 2.977 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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: 17.489692786999512]