Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.00163/0.00163, allocations: 106.1 kB / 16.45 MB, free: 6.508 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.001766/0.001766, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003042/0.003042, allocations: 71.89 kB / 1.056 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7751, allocations: 160.7 MB / 1.213 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02446/0.7995, allocations: 16.27 MB / 1.229 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.8112, allocations: 4.877 MB / 1.234 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002951/0.8141, allocations: 63.69 kB / 1.234 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.8183, allocations: 1.074 MB / 1.235 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.8212, allocations: 0.7815 MB / 1.235 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003189/0.8244, allocations: 0.9116 MB / 1.236 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004997/0.8294, allocations: 3.622 MB / 1.24 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005579/0.835, allocations: 3.545 MB / 1.243 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.8376, allocations: 1.601 MB / 1.245 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/0.8406, allocations: 1.877 MB / 1.247 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008405/0.8415, allocations: 336 kB / 1.247 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.8434, allocations: 0.8192 MB / 1.248 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.8454, allocations: 1.364 MB / 1.249 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002669/0.8481, allocations: 1.459 MB / 1.251 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006605/0.8547, allocations: 5.144 MB / 1.256 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.8547, allocations: 4 kB / 1.256 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8547, allocations: 0 / 1.256 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001288/0.8548, allocations: 0 / 1.256 GB, free: 12.34 MB / 0.9669 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.006558/0.8614, allocations: 2.709 MB / 1.258 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.8614, allocations: 12.92 kB / 1.258 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008683/0.8623, allocations: 378.4 kB / 1.259 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/0.867, allocations: 0.8382 MB / 1.259 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004543/0.8716, allocations: 1.572 MB / 1.261 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.8718, allocations: 181.1 kB / 1.261 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008756/0.8727, allocations: 232.3 kB / 1.261 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009328/0.882, allocations: 4.161 MB / 1.265 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-05/0.8821, allocations: 7.938 kB / 1.265 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006623/0.8827, allocations: 104 kB / 1.266 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002563/0.883, allocations: 164.5 kB / 1.266 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008203/0.8912, allocations: 3.638 MB / 1.269 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02318/0.9144, allocations: 16.43 MB / 1.285 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/0.9181, allocations: 2.25 MB / 1.288 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.9191, allocations: 0.5467 MB / 1.288 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.9193, allocations: 97.66 kB / 1.288 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.9193, allocations: 39.12 kB / 1.288 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 2.595e-06/0.9193, allocations: 0 / 1.288 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.006668/0.926, allocations: 3.506 MB / 1.292 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/0.9261, allocations: 111.5 kB / 1.292 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.9277, allocations: 1.014 MB / 1.293 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.9278, allocations: 37.7 kB / 1.293 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009515/0.9287, allocations: 1.142 MB / 1.294 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.9291, allocations: 289.6 kB / 1.294 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004608/0.9295, allocations: 283.4 kB / 1.294 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002599/0.9298, allocations: 418.6 kB / 1.295 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.9308, allocations: 0.6128 MB / 1.295 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.9324, allocations: 1.193 MB / 1.297 GB, free: 20 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.935, allocations: 1.868 MB / 1.298 GB, free: 13.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/0.935, allocations: 4 kB / 1.298 GB, free: 13.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00356/0.9386, allocations: 2.023 MB / 1.3 GB, free: 11.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.9386, allocations: 18.5 kB / 1.3 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.9387, allocations: 16 kB / 1.3 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/0.9391, allocations: 163.3 kB / 1.301 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.9403, allocations: 343.4 kB / 1.301 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.805e-05/0.9403, allocations: 36.05 kB / 1.301 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.9413, allocations: 131.8 kB / 1.301 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.9415, allocations: 68 kB / 1.301 GB, free: 11.07 MB / 1.014 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.001503/0.943, allocations: 0.9771 MB / 1.302 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.9432, allocations: 115.2 kB / 1.302 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.9454, allocations: 1.23 MB / 1.303 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.9454, allocations: 8 kB / 1.303 GB, free: 8.703 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.9454, allocations: 4 kB / 1.303 GB, free: 8.699 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.9454, allocations: 3.984 kB / 1.303 GB, free: 8.695 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006341/0.9517, allocations: 3.798 MB / 1.307 GB, free: 4.754 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.9518, allocations: 3.984 kB / 1.307 GB, free: 4.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/0.9524, allocations: 155.8 kB / 1.307 GB, free: 4.598 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003695/0.9527, allocations: 139.3 kB / 1.307 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.9528, allocations: 23.98 kB / 1.307 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.9528, allocations: 15.81 kB / 1.307 GB, free: 4.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.9528, allocations: 8.062 kB / 1.307 GB, free: 4.402 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.9549, allocations: 1.462 MB / 1.309 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/0.9555, allocations: 280.3 kB / 1.309 GB, free: 2.598 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.9557, allocations: 16 kB / 1.309 GB, free: 2.582 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005729/0.9562, allocations: 71.91 kB / 1.309 GB, free: 2.512 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.9564, allocations: 56.42 kB / 1.309 GB, free: 2.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.9564, allocations: 20 kB / 1.309 GB, free: 2.438 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001002/0.9574, allocations: 0.6992 MB / 1.31 GB, free: 1.727 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9574, allocations: 0 / 1.31 GB, free: 1.727 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001437/0.9588, allocations: 388 kB / 1.31 GB, free: 1.348 MB / 1.014 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.002501/0.9613, allocations: 2.037 MB / 1.312 GB, free: 15.24 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00261/0.964, allocations: 1.664 MB / 1.314 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.964, allocations: 4.062 kB / 1.314 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.965, allocations: 0.8267 MB / 1.315 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.9666, allocations: 282.4 kB / 1.315 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/0.9889, allocations: 12.9 MB / 1.328 GB, free: 14.68 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/0.991, allocations: 1.92 MB / 1.33 GB, free: 12.72 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001212/0.9923, allocations: 445.4 kB / 1.33 GB, free: 12.29 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.9933, allocations: 0.7141 MB / 1.331 GB, free: 11.57 MB / 1.045 GB Notification: Performance of SimCode: time 1.263e-06/0.9933, allocations: 4 kB / 1.331 GB, free: 11.57 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06713/1.06, allocations: 28.05 MB / 1.358 GB, free: 15.84 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.12, allocations: 9.781 kB / 1.358 GB, free: 15.83 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 19.096298107877374]