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.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.001684/0.001684, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002215/0.002215, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.82/2.82, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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: 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.002043/0.002043, allocations: 65.66 kB / 1.117 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007781/0.3354, allocations: 5.074 MB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004761/0.3402, allocations: 2.596 MB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003199/0.3405, allocations: 39.56 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.3418, allocations: 406.6 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.3429, allocations: 469.6 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009714/0.3438, allocations: 407.9 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.345, allocations: 0.9294 MB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.3456, allocations: 321.9 kB / 1.293 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000542/0.3461, allocations: 362.6 kB / 1.294 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.3466, allocations: 374.4 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.513e-05/0.3467, allocations: 36 kB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007389/0.3474, allocations: 407.1 kB / 1.294 GB, free: 312 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.3477, allocations: 191.3 kB / 1.295 GB, free: 120 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.348, allocations: 318.2 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.3491, allocations: 0.9025 MB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3491, allocations: 0 / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3491, allocations: 0 / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.3491, allocations: 0 / 1.296 GB, free: 14.9 MB / 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.001511/0.3506, allocations: 0.8973 MB / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3506, allocations: 12.03 kB / 1.297 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.3508, allocations: 94.69 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.352, allocations: 208.3 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.3529, allocations: 488.8 kB / 1.297 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.3529, allocations: 29.38 kB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.679e-05/0.353, allocations: 48.36 kB / 1.298 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.3541, allocations: 0.8407 MB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.3541, allocations: 7.938 kB / 1.298 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.3542, allocations: 27.98 kB / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.584e-05/0.3543, allocations: 68.95 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008809/0.3552, allocations: 0.5695 MB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005001/0.3602, allocations: 5.578 MB / 1.304 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.3608, allocations: 426.7 kB / 1.305 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.3612, allocations: 204.7 kB / 1.305 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.3612, allocations: 4 kB / 1.305 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3612, allocations: 39.09 kB / 1.305 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 1.944e-06/0.3612, allocations: 0 / 1.305 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002403/0.3636, allocations: 1.144 MB / 1.306 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3637, allocations: 59.67 kB / 1.306 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/0.3642, allocations: 0.4952 MB / 1.307 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.3643, allocations: 29.7 kB / 1.307 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.3645, allocations: 379.7 kB / 1.307 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3646, allocations: 126.9 kB / 1.307 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.3648, allocations: 106.2 kB / 1.307 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.365, allocations: 362.8 kB / 1.308 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.3653, allocations: 201.2 kB / 1.308 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.3658, allocations: 447.3 kB / 1.308 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008628/0.3666, allocations: 0.6841 MB / 1.309 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3666, allocations: 4 kB / 1.309 GB, free: 500 kB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001345/0.368, allocations: 0.8133 MB / 1.31 GB, free: 15.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.368, allocations: 8 kB / 1.31 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.368, allocations: 12.84 kB / 1.31 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.3685, allocations: 156 kB / 1.31 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.369, allocations: 123.8 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003837/0.3728, allocations: 4.033 MB / 1.314 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.3732, allocations: 40.12 kB / 1.314 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.3732, allocations: 35.88 kB / 1.314 GB, free: 10.89 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.0002944/0.3735, allocations: 213.5 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.3736, allocations: 63.58 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.3747, allocations: 0.6009 MB / 1.315 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3747, allocations: 0 / 1.315 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3747, allocations: 4 kB / 1.315 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.3747, allocations: 3.984 kB / 1.315 GB, free: 9.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.3766, allocations: 1.238 MB / 1.316 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.3766, allocations: 0 / 1.316 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.3769, allocations: 55.89 kB / 1.316 GB, free: 8.602 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004184/0.3773, allocations: 144.4 kB / 1.316 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.3773, allocations: 11.94 kB / 1.316 GB, free: 8.434 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.3808, allocations: 4.026 MB / 1.32 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3808, allocations: 0 / 1.32 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.3819, allocations: 0.7205 MB / 1.321 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.3821, allocations: 91.58 kB / 1.321 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.3821, allocations: 11.95 kB / 1.321 GB, free: 3.188 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.3824, allocations: 19.97 kB / 1.321 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.3825, allocations: 31.89 kB / 1.321 GB, free: 3.137 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.3825, allocations: 11.98 kB / 1.321 GB, free: 3.125 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004082/0.3829, allocations: 342.8 kB / 1.322 GB, free: 2.793 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3829, allocations: 0 / 1.322 GB, free: 2.793 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006772/0.3836, allocations: 144 kB / 1.322 GB, free: 2.652 MB / 1.014 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.001473/0.385, allocations: 1.261 MB / 1.323 GB, free: 1.324 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.3866, allocations: 0.8663 MB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3866, allocations: 0 / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008585/0.3874, allocations: 0.5723 MB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009639/0.3884, allocations: 201.3 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/0.3956, allocations: 5.174 MB / 1.33 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.3963, allocations: 0.9059 MB / 1.33 GB, free: 9.121 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003575/0.3966, allocations: 117.3 kB / 1.331 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.3969, allocations: 195.4 kB / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/0.3969, allocations: 0 / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05565/0.4526, allocations: 13.36 MB / 1.344 GB, free: 11.72 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.64, allocations: 5.703 kB / 1.344 GB, free: 11.72 MB / 1.045 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --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/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: 19.262842955999076]