Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001275/0.001275, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001395/0.001395, allocations: 216.3 kB / 22.24 MB, free: 5.258 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.119/3.119, allocations: 0.49 GB / 0.7951 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 68.2 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3018, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01982/0.3216, allocations: 15.49 MB / 1.341 GB, free: 2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008327/0.33, allocations: 4.774 MB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009136/0.3309, allocations: 83.38 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.3337, allocations: 1.06 MB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.3353, allocations: 0.7776 MB / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.3375, allocations: 0.9229 MB / 1.348 GB, free: 10.36 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003863/0.3413, allocations: 3.614 MB / 1.352 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/0.3447, allocations: 2.462 MB / 1.354 GB, free: 4.203 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/0.3471, allocations: 1.632 MB / 1.356 GB, free: 2.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.3499, allocations: 1.889 MB / 1.358 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005128/0.3504, allocations: 340 kB / 1.358 GB, free: 348 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.3518, allocations: 0.753 MB / 1.359 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.3532, allocations: 1.36 MB / 1.36 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.3547, allocations: 1.175 MB / 1.361 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005105/0.3598, allocations: 5.167 MB / 1.366 GB, free: 7.859 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3598, allocations: 4 kB / 1.366 GB, free: 7.855 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3598, allocations: 0 / 1.366 GB, free: 7.855 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.363e-05/0.3599, allocations: 0 / 1.366 GB, free: 7.855 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004924/0.3648, allocations: 2.646 MB / 1.369 GB, free: 5.164 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3649, allocations: 8.031 kB / 1.369 GB, free: 5.156 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004955/0.3654, allocations: 370.5 kB / 1.369 GB, free: 4.785 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00403/0.3694, allocations: 0.8498 MB / 1.37 GB, free: 3.934 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.3729, allocations: 1.535 MB / 1.372 GB, free: 2.363 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.373, allocations: 177.1 kB / 1.372 GB, free: 2.188 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004446/0.3735, allocations: 232.3 kB / 1.372 GB, free: 1.961 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00696/0.3805, allocations: 4.266 MB / 1.376 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/0.3805, allocations: 3.938 kB / 1.376 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.3808, allocations: 104 kB / 1.376 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002033/0.381, allocations: 164.5 kB / 1.376 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006041/0.387, allocations: 3.628 MB / 1.38 GB, free: 9.617 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/0.4042, allocations: 11.03 MB / 1.391 GB, free: 14.25 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/0.4073, allocations: 1.475 MB / 1.392 GB, free: 12.75 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008754/0.4082, allocations: 0.5509 MB / 1.393 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.4083, allocations: 16.64 kB / 1.393 GB, free: 12.18 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.4084, allocations: 39.22 kB / 1.393 GB, free: 12.13 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 3.507e-06/0.4084, allocations: 0 / 1.393 GB, free: 12.13 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.005601/0.414, allocations: 3.201 MB / 1.396 GB, free: 8.906 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.414, allocations: 115.5 kB / 1.396 GB, free: 8.77 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.4154, allocations: 1.053 MB / 1.397 GB, free: 7.691 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.4155, allocations: 41.7 kB / 1.397 GB, free: 7.645 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008068/0.4163, allocations: 1.142 MB / 1.398 GB, free: 6.488 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.4165, allocations: 293.6 kB / 1.399 GB, free: 6.199 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/0.4169, allocations: 283.4 kB / 1.399 GB, free: 5.914 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.4171, allocations: 410.7 kB / 1.399 GB, free: 5.504 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009565/0.4181, allocations: 0.6167 MB / 1.4 GB, free: 4.887 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.4195, allocations: 1.185 MB / 1.401 GB, free: 3.441 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.4219, allocations: 1.864 MB / 1.403 GB, free: 1.309 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.4219, allocations: 4 kB / 1.403 GB, free: 1.305 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00333/0.4253, allocations: 2.019 MB / 1.405 GB, free: 15.26 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.4253, allocations: 16 kB / 1.405 GB, free: 15.25 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.4253, allocations: 20 kB / 1.405 GB, free: 15.23 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/0.4258, allocations: 163.3 kB / 1.405 GB, free: 15.05 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.427, allocations: 343.3 kB / 1.405 GB, free: 14.72 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.304e-05/0.427, allocations: 43.86 kB / 1.405 GB, free: 14.68 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.4281, allocations: 135.9 kB / 1.405 GB, free: 14.54 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.4282, allocations: 64 kB / 1.405 GB, free: 14.48 MB / 1.108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001394/0.4296, allocations: 0.9732 MB / 1.406 GB, free: 13.5 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.4298, allocations: 119.3 kB / 1.407 GB, free: 13.38 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.432, allocations: 1.233 MB / 1.408 GB, free: 12.12 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.4321, allocations: 11.94 kB / 1.408 GB, free: 12.11 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4321, allocations: 4 kB / 1.408 GB, free: 12.11 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.4321, allocations: 7.984 kB / 1.408 GB, free: 12.1 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.4379, allocations: 3.435 MB / 1.411 GB, free: 8.582 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4379, allocations: 4 kB / 1.411 GB, free: 8.578 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/0.4386, allocations: 164 kB / 1.411 GB, free: 8.418 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003814/0.439, allocations: 139.3 kB / 1.411 GB, free: 8.27 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.439, allocations: 12 kB / 1.411 GB, free: 8.258 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/0.439, allocations: 15.88 kB / 1.411 GB, free: 8.242 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.439, allocations: 0 / 1.411 GB, free: 8.242 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.4411, allocations: 1.474 MB / 1.413 GB, free: 6.711 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.4417, allocations: 199.2 kB / 1.413 GB, free: 6.516 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.4419, allocations: 27.98 kB / 1.413 GB, free: 6.488 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000605/0.4425, allocations: 59.91 kB / 1.413 GB, free: 6.43 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.4426, allocations: 64.48 kB / 1.413 GB, free: 6.367 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.4426, allocations: 20 kB / 1.413 GB, free: 6.348 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.001017/0.4437, allocations: 0.6953 MB / 1.414 GB, free: 5.641 MB / 1.108 GB Notification: Performance of sort global known variables: time 6e-08/0.4437, allocations: 0 / 1.414 GB, free: 5.641 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.001414/0.4451, allocations: 388 kB / 1.414 GB, free: 5.262 MB / 1.108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002516/0.4476, allocations: 2.045 MB / 1.416 GB, free: 3.148 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.002347/0.4499, allocations: 1.363 MB / 1.418 GB, free: 1.777 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.4499, allocations: 4 kB / 1.418 GB, free: 1.773 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.0008691/0.4508, allocations: 0.5277 MB / 1.418 GB, free: 1.234 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.4522, allocations: 275.8 kB / 1.418 GB, free: 0.9688 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/0.4709, allocations: 12.91 MB / 1.431 GB, free: 3.328 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/0.4727, allocations: 1.333 MB / 1.432 GB, free: 1.953 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001082/0.4738, allocations: 453.4 kB / 1.433 GB, free: 1.508 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009314/0.4747, allocations: 0.718 MB / 1.433 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of SimCode: time 1.162e-06/0.4747, allocations: 4 kB / 1.433 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06483/0.5395, allocations: 29.8 MB / 1.463 GB, free: 3.434 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.39, allocations: 4.406 kB / 1.463 GB, free: 3.434 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 18.950218084995868]