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.00186/0.00186, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001592/0.001592, allocations: 212.7 kB / 22.24 MB, free: 5.238 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.809 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.111/3.111, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_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.002091/0.002091, allocations: 67.67 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3152, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006852/0.3221, allocations: 4.664 MB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004322/0.3264, allocations: 2.444 MB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.3268, allocations: 35.62 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.3282, allocations: 398 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.3295, allocations: 473.6 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.3305, allocations: 401.7 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.3318, allocations: 0.9294 MB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005587/0.3323, allocations: 310.6 kB / 1.334 GB, free: 8.703 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006365/0.333, allocations: 362.6 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/0.3336, allocations: 358.3 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.3337, allocations: 36 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007551/0.3345, allocations: 363.2 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.3347, allocations: 179.4 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.3351, allocations: 266.6 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.3363, allocations: 0.8949 MB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3363, allocations: 0 / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3363, allocations: 3.938 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.3363, allocations: 0 / 1.337 GB, free: 6.266 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.001481/0.3378, allocations: 0.8974 MB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3378, allocations: 8.031 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.3379, allocations: 94.69 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.3392, allocations: 208.2 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009176/0.3401, allocations: 0.489 MB / 1.338 GB, free: 4.512 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.3401, allocations: 29.38 kB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.384e-05/0.3402, allocations: 48.36 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.3414, allocations: 0.9699 MB / 1.34 GB, free: 3.297 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.3414, allocations: 11.89 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.3415, allocations: 23.98 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.3416, allocations: 68.95 kB / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008658/0.3425, allocations: 0.5656 MB / 1.34 GB, free: 2.629 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004381/0.3468, allocations: 4.72 MB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.3475, allocations: 427.8 kB / 1.345 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.3478, allocations: 200.7 kB / 1.345 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.3478, allocations: 4 kB / 1.345 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3479, allocations: 38.5 kB / 1.345 GB, free: 13.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.3479, allocations: 0 / 1.345 GB, free: 13.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002468/0.3503, allocations: 1.14 MB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3504, allocations: 59.62 kB / 1.347 GB, free: 11.8 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.3509, allocations: 0.5106 MB / 1.347 GB, free: 11.29 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.351, allocations: 33.7 kB / 1.347 GB, free: 11.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.3512, allocations: 367.8 kB / 1.347 GB, free: 10.88 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.3513, allocations: 131 kB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.3515, allocations: 106.2 kB / 1.348 GB, free: 10.64 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3517, allocations: 366.8 kB / 1.348 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.352, allocations: 197.2 kB / 1.348 GB, free: 10.08 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.3525, allocations: 447.9 kB / 1.349 GB, free: 9.531 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008837/0.3534, allocations: 0.6915 MB / 1.349 GB, free: 8.723 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.3534, allocations: 4 kB / 1.349 GB, free: 8.719 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00137/0.3547, allocations: 0.8099 MB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.3548, allocations: 15.92 kB / 1.35 GB, free: 7.871 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3548, allocations: 11.94 kB / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/0.3553, allocations: 152.1 kB / 1.35 GB, free: 7.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.3558, allocations: 123.7 kB / 1.35 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/0.3594, allocations: 4.027 MB / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.3598, allocations: 31.97 kB / 1.354 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.3599, allocations: 28 kB / 1.354 GB, free: 3.145 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.0003086/0.3602, allocations: 223 kB / 1.355 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3603, allocations: 71.52 kB / 1.355 GB, free: 2.848 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.3614, allocations: 0.5973 MB / 1.355 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3614, allocations: 4 kB / 1.355 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3614, allocations: 4 kB / 1.355 GB, free: 2.219 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3614, allocations: 3.984 kB / 1.355 GB, free: 2.215 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.3633, allocations: 1.183 MB / 1.356 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.3633, allocations: 4 kB / 1.356 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.3636, allocations: 55.89 kB / 1.356 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.364, allocations: 144.3 kB / 1.357 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.364, allocations: 11.94 kB / 1.357 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003421/0.3675, allocations: 4.025 MB / 1.361 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3675, allocations: 4.344 kB / 1.361 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.3685, allocations: 0.7117 MB / 1.361 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.3688, allocations: 87.58 kB / 1.361 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.3688, allocations: 8 kB / 1.361 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.3691, allocations: 23.97 kB / 1.361 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.3692, allocations: 43.81 kB / 1.361 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.3692, allocations: 8 kB / 1.361 GB, free: 11.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003828/0.3696, allocations: 338.8 kB / 1.362 GB, free: 11.08 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3696, allocations: 0 / 1.362 GB, free: 11.08 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006152/0.3702, allocations: 144 kB / 1.362 GB, free: 10.94 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.001362/0.3716, allocations: 1.257 MB / 1.363 GB, free: 9.617 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.3729, allocations: 0.8665 MB / 1.364 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3729, allocations: 0 / 1.364 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008399/0.3738, allocations: 0.5761 MB / 1.365 GB, free: 8.086 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009581/0.3747, allocations: 210 kB / 1.365 GB, free: 7.891 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006581/0.3813, allocations: 5.169 MB / 1.37 GB, free: 2.328 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.3817, allocations: 316 kB / 1.37 GB, free: 1.992 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003263/0.382, allocations: 117.3 kB / 1.37 GB, free: 1.875 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.3823, allocations: 195.4 kB / 1.37 GB, free: 1.684 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.3823, allocations: 0 / 1.37 GB, free: 1.684 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07698/0.4592, allocations: 14.3 MB / 1.384 GB, free: 3.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.51, allocations: 0 / 1.384 GB, free: 3.77 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.025026113260537]