Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001576/0.001576, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00191/0.00191, allocations: 223.5 kB / 23.03 MB, free: 4.945 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.026/3.026, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_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.001926/0.001926, allocations: 65.31 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3396, allocations: 176.1 MB / 1.327 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006514/0.3462, allocations: 4.656 MB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004186/0.3503, allocations: 2.44 MB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.3506, allocations: 35.62 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.3518, allocations: 405.9 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009183/0.3527, allocations: 469.6 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000866/0.3536, allocations: 402.9 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.3546, allocations: 0.9256 MB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.3551, allocations: 326.6 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004628/0.3555, allocations: 362.6 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004743/0.356, allocations: 366.4 kB / 1.337 GB, free: 7.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.3561, allocations: 36 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.3566, allocations: 367.2 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.3568, allocations: 187.3 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.3571, allocations: 262.6 kB / 1.338 GB, free: 6.324 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009848/0.3581, allocations: 0.8949 MB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3581, allocations: 0 / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3581, allocations: 3.938 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.3581, allocations: 4 kB / 1.338 GB, free: 5.418 MB / 1.029 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.001402/0.3595, allocations: 0.8935 MB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3596, allocations: 8.031 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.893e-05/0.3596, allocations: 17.19 kB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.3597, allocations: 94.7 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.3609, allocations: 208.2 kB / 1.34 GB, free: 4.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008124/0.3618, allocations: 496.7 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.3618, allocations: 33.36 kB / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.3619, allocations: 48.36 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.3631, allocations: 0.9697 MB / 1.341 GB, free: 2.441 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.3631, allocations: 19.88 kB / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.3632, allocations: 24 kB / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.47e-05/0.3633, allocations: 64.95 kB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008523/0.3641, allocations: 0.5656 MB / 1.342 GB, free: 1.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004239/0.3684, allocations: 4.72 MB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.369, allocations: 422.8 kB / 1.347 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.3693, allocations: 200.7 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3693, allocations: 7.938 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.3694, allocations: 42.55 kB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/0.3694, allocations: 0 / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.00243/0.3718, allocations: 1.144 MB / 1.348 GB, free: 11.01 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3718, allocations: 55.69 kB / 1.348 GB, free: 10.94 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.3724, allocations: 0.4952 MB / 1.349 GB, free: 10.44 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.3724, allocations: 37.7 kB / 1.349 GB, free: 10.39 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.3727, allocations: 371.7 kB / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.3728, allocations: 123 kB / 1.349 GB, free: 9.906 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.3729, allocations: 110.2 kB / 1.349 GB, free: 9.793 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3731, allocations: 366.8 kB / 1.35 GB, free: 9.426 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.3734, allocations: 193.2 kB / 1.35 GB, free: 9.234 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.3739, allocations: 451.3 kB / 1.35 GB, free: 8.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008395/0.3747, allocations: 0.6837 MB / 1.351 GB, free: 7.879 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3747, allocations: 4 kB / 1.351 GB, free: 7.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00128/0.376, allocations: 0.8174 MB / 1.352 GB, free: 7.035 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.376, allocations: 8 kB / 1.352 GB, free: 7.027 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.376, allocations: 15.92 kB / 1.352 GB, free: 7.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.3765, allocations: 148.2 kB / 1.352 GB, free: 6.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.377, allocations: 120.1 kB / 1.352 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/0.3804, allocations: 4.03 MB / 1.356 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.3807, allocations: 31.97 kB / 1.356 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.3808, allocations: 31.98 kB / 1.356 GB, free: 2.297 MB / 1.045 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.0002661/0.381, allocations: 219.8 kB / 1.356 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.71e-05/0.3811, allocations: 67.58 kB / 1.356 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.3822, allocations: 0.5933 MB / 1.357 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.3822, allocations: 4 kB / 1.357 GB, free: 1.387 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3822, allocations: 4 kB / 1.357 GB, free: 1.383 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3822, allocations: 3.984 kB / 1.357 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.384, allocations: 1.187 MB / 1.358 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.384, allocations: 8.031 kB / 1.358 GB, free: 100 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.3842, allocations: 55.83 kB / 1.358 GB, free: 44 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.3846, allocations: 148.1 kB / 1.358 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.3847, allocations: 11.98 kB / 1.358 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/0.3879, allocations: 4.01 MB / 1.362 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.3879, allocations: 7.969 kB / 1.362 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000989/0.3889, allocations: 0.712 MB / 1.363 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.3891, allocations: 99.39 kB / 1.363 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.3892, allocations: 11.98 kB / 1.363 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.3894, allocations: 23.97 kB / 1.363 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.3895, allocations: 35.83 kB / 1.363 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3895, allocations: 8 kB / 1.363 GB, free: 10.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003586/0.3899, allocations: 338.8 kB / 1.363 GB, free: 10.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3899, allocations: 4.094 kB / 1.363 GB, free: 10.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000619/0.3905, allocations: 144 kB / 1.363 GB, free: 10.09 MB / 1.061 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.001307/0.3918, allocations: 1.25 MB / 1.365 GB, free: 8.777 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.3931, allocations: 0.8665 MB / 1.366 GB, free: 7.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3931, allocations: 4.125 kB / 1.366 GB, free: 7.863 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007814/0.3939, allocations: 0.5718 MB / 1.366 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.3948, allocations: 218.6 kB / 1.366 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006375/0.4012, allocations: 5.161 MB / 1.371 GB, free: 1.492 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4015, allocations: 308 kB / 1.372 GB, free: 1.164 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003132/0.4018, allocations: 117.3 kB / 1.372 GB, free: 1.047 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.4021, allocations: 195.4 kB / 1.372 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.4021, allocations: 0 / 1.372 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05615/0.4582, allocations: 14.11 MB / 1.386 GB, free: 3.148 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.63, allocations: 9.844 kB / 1.386 GB, free: 3.145 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.189431680948474]