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.001754/0.001754, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002248/0.002248, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.701/2.701, allocations: 476.8 MB / 0.7715 GB, free: 3.895 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",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.001958/0.001958, allocations: 63.34 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3095, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00779/0.3173, allocations: 4.661 MB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004385/0.3217, allocations: 2.432 MB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.3219, allocations: 39.62 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.3231, allocations: 396.3 kB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009712/0.3241, allocations: 469.6 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.325, allocations: 408.5 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.326, allocations: 0.9256 MB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.3266, allocations: 318.4 kB / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/0.3271, allocations: 358.6 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000501/0.3276, allocations: 370.4 kB / 1.294 GB, free: 308 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.3277, allocations: 43.94 kB / 1.294 GB, free: 264 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006263/0.3283, allocations: 359.2 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.3285, allocations: 187.4 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.3288, allocations: 262.6 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3299, allocations: 0.8962 MB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3299, allocations: 0 / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3299, allocations: 7.875 kB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3299, allocations: 0 / 1.296 GB, free: 14.56 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.00144/0.3313, allocations: 0.8935 MB / 1.297 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3313, allocations: 12.03 kB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.956e-05/0.3314, allocations: 13.19 kB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.755e-05/0.3315, allocations: 90.69 kB / 1.297 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.3327, allocations: 220.2 kB / 1.297 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/0.3336, allocations: 492.7 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.3336, allocations: 37.36 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/0.3337, allocations: 40.38 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.3349, allocations: 0.9777 MB / 1.299 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.3349, allocations: 7.938 kB / 1.299 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.335, allocations: 23.98 kB / 1.299 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.225e-05/0.3351, allocations: 68.95 kB / 1.299 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.3359, allocations: 0.5656 MB / 1.299 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.3401, allocations: 4.72 MB / 1.304 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.3408, allocations: 426.3 kB / 1.304 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.3411, allocations: 200.7 kB / 1.304 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.3411, allocations: 7.938 kB / 1.304 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3411, allocations: 35.09 kB / 1.304 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.3411, allocations: 0 / 1.304 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.00245/0.3436, allocations: 1.14 MB / 1.306 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.3436, allocations: 59.69 kB / 1.306 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.3442, allocations: 0.4991 MB / 1.306 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.3442, allocations: 29.7 kB / 1.306 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.3445, allocations: 371.7 kB / 1.306 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.3446, allocations: 130.9 kB / 1.307 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.3448, allocations: 110.2 kB / 1.307 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.345, allocations: 366.8 kB / 1.307 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.3453, allocations: 193.2 kB / 1.307 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.3457, allocations: 455 kB / 1.308 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.3466, allocations: 0.688 MB / 1.308 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3466, allocations: 0 / 1.308 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001269/0.3478, allocations: 0.8139 MB / 1.309 GB, free: 176 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3479, allocations: 8 kB / 1.309 GB, free: 168 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.3479, allocations: 11.94 kB / 1.309 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004977/0.3484, allocations: 152.2 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.3488, allocations: 123.7 kB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.3522, allocations: 4.03 MB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.3526, allocations: 39.91 kB / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.3526, allocations: 28 kB / 1.313 GB, free: 11.43 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.0002575/0.3529, allocations: 213.5 kB / 1.314 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.005e-05/0.353, allocations: 71.64 kB / 1.314 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.354, allocations: 0.597 MB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.354, allocations: 4 kB / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.354, allocations: 0 / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.354, allocations: 0 / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.3558, allocations: 1.186 MB / 1.315 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3558, allocations: 0 / 1.315 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.3561, allocations: 60.11 kB / 1.316 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004088/0.3565, allocations: 148 kB / 1.316 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.3565, allocations: 8 kB / 1.316 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003309/0.3598, allocations: 4.014 MB / 1.32 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3598, allocations: 8 kB / 1.32 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3608, allocations: 0.7124 MB / 1.32 GB, free: 3.883 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.361, allocations: 91.52 kB / 1.32 GB, free: 3.793 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.3611, allocations: 11.95 kB / 1.32 GB, free: 3.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.3614, allocations: 23.97 kB / 1.32 GB, free: 3.758 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.3614, allocations: 39.83 kB / 1.32 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.3615, allocations: 8 kB / 1.32 GB, free: 3.711 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003713/0.3618, allocations: 338.8 kB / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3618, allocations: 0 / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006311/0.3625, allocations: 144 kB / 1.321 GB, free: 3.242 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.001324/0.3638, allocations: 1.257 MB / 1.322 GB, free: 1.918 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.3652, allocations: 0.8663 MB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3652, allocations: 0 / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007904/0.366, allocations: 0.5642 MB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/0.3669, allocations: 210.3 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006506/0.3734, allocations: 5.159 MB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.3737, allocations: 316 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003399/0.374, allocations: 125.3 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.3743, allocations: 203.3 kB / 1.329 GB, free: 10 MB / 1.029 GB Notification: Performance of SimCode: time 7.42e-07/0.3743, allocations: 0 / 1.329 GB, free: 10 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/0.4208, allocations: 14.12 MB / 1.343 GB, free: 12.3 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.93, allocations: 6.344 kB / 1.343 GB, free: 12.3 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.43731101800222]