Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001287/0.001287, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.001348/0.001348, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.177/3.177, allocations: 497.2 MB / 0.7811 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 71.14 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3509, allocations: 173.9 MB / 1.304 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007708/0.3586, allocations: 4.947 MB / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004651/0.3632, allocations: 2.514 MB / 1.311 GB, free: 10.06 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004645/0.3637, allocations: 27.81 kB / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.365, allocations: 405.8 kB / 1.312 GB, free: 9.637 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.3664, allocations: 469.6 kB / 1.312 GB, free: 9.176 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.3675, allocations: 403.2 kB / 1.312 GB, free: 8.781 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.369, allocations: 0.9251 MB / 1.313 GB, free: 7.852 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005878/0.3696, allocations: 290.8 kB / 1.314 GB, free: 7.562 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000705/0.3703, allocations: 338.7 kB / 1.314 GB, free: 7.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/0.3709, allocations: 382.3 kB / 1.314 GB, free: 6.855 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.531e-05/0.371, allocations: 36 kB / 1.314 GB, free: 6.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008141/0.3718, allocations: 415.1 kB / 1.315 GB, free: 6.414 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.3721, allocations: 187.3 kB / 1.315 GB, free: 6.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003581/0.3724, allocations: 322.2 kB / 1.315 GB, free: 5.914 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.3738, allocations: 0.8793 MB / 1.316 GB, free: 5.031 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3738, allocations: 0 / 1.316 GB, free: 5.031 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3738, allocations: 4 kB / 1.316 GB, free: 5.027 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.3738, allocations: 0 / 1.316 GB, free: 5.027 MB / 1.014 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.001839/0.3756, allocations: 0.9726 MB / 1.317 GB, free: 4.004 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.3757, allocations: 8.625 kB / 1.317 GB, free: 3.996 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.3758, allocations: 94.69 kB / 1.317 GB, free: 3.895 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.3771, allocations: 208.2 kB / 1.317 GB, free: 3.691 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.3782, allocations: 0.5573 MB / 1.318 GB, free: 3.098 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.3782, allocations: 33.36 kB / 1.318 GB, free: 3.062 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.402e-05/0.3783, allocations: 44.38 kB / 1.318 GB, free: 3.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.3795, allocations: 0.8444 MB / 1.319 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.3795, allocations: 11.92 kB / 1.319 GB, free: 2.027 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.426e-05/0.3796, allocations: 23.98 kB / 1.319 GB, free: 2.004 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.934e-05/0.3797, allocations: 68.97 kB / 1.319 GB, free: 1.938 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009282/0.3806, allocations: 0.5655 MB / 1.319 GB, free: 1.367 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005449/0.3861, allocations: 5.655 MB / 1.325 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.3868, allocations: 426.3 kB / 1.325 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.3871, allocations: 208.7 kB / 1.326 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.3871, allocations: 4 kB / 1.326 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.3871, allocations: 34.56 kB / 1.326 GB, free: 10.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.3871, allocations: 7.938 kB / 1.326 GB, free: 10.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002887/0.39, allocations: 1.505 MB / 1.327 GB, free: 9.012 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.3901, allocations: 55.69 kB / 1.327 GB, free: 8.945 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.3907, allocations: 0.5068 MB / 1.328 GB, free: 8.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.3907, allocations: 29.7 kB / 1.328 GB, free: 8.395 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.391, allocations: 371.8 kB / 1.328 GB, free: 8.027 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.3911, allocations: 126.9 kB / 1.328 GB, free: 7.902 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.3913, allocations: 110.2 kB / 1.328 GB, free: 7.789 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3915, allocations: 366.8 kB / 1.329 GB, free: 7.422 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.3918, allocations: 201.2 kB / 1.329 GB, free: 7.227 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.3923, allocations: 443.3 kB / 1.329 GB, free: 6.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009808/0.3933, allocations: 0.6915 MB / 1.33 GB, free: 5.867 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3933, allocations: 4 kB / 1.33 GB, free: 5.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00142/0.3947, allocations: 0.8053 MB / 1.331 GB, free: 5.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.3947, allocations: 13.41 kB / 1.331 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3948, allocations: 8 kB / 1.331 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.3953, allocations: 160.8 kB / 1.331 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.3958, allocations: 127.7 kB / 1.331 GB, free: 4.719 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/0.3999, allocations: 4.337 MB / 1.335 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.4004, allocations: 31.97 kB / 1.335 GB, free: 15.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.4005, allocations: 32.16 kB / 1.335 GB, free: 15.9 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.0004596/0.4009, allocations: 215.1 kB / 1.336 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.4011, allocations: 67.58 kB / 1.336 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.4022, allocations: 0.601 MB / 1.336 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4022, allocations: 4 kB / 1.336 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4022, allocations: 0 / 1.336 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4022, allocations: 3.984 kB / 1.336 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.4041, allocations: 1.259 MB / 1.337 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.4041, allocations: 4 kB / 1.337 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.4044, allocations: 51.89 kB / 1.337 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/0.4048, allocations: 156.3 kB / 1.338 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.4048, allocations: 7.938 kB / 1.338 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003833/0.4086, allocations: 4.333 MB / 1.342 GB, free: 8.648 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4086, allocations: 4.031 kB / 1.342 GB, free: 8.645 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.4098, allocations: 0.7128 MB / 1.343 GB, free: 7.879 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.41, allocations: 176.6 kB / 1.343 GB, free: 7.688 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.4101, allocations: 12 kB / 1.343 GB, free: 7.676 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.4104, allocations: 19.97 kB / 1.343 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.4104, allocations: 35.84 kB / 1.343 GB, free: 7.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.4105, allocations: 11.94 kB / 1.343 GB, free: 7.609 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004132/0.4109, allocations: 338.8 kB / 1.343 GB, free: 7.281 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4109, allocations: 4 kB / 1.343 GB, free: 7.277 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006487/0.4115, allocations: 140 kB / 1.343 GB, free: 7.141 MB / 1.045 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.001466/0.413, allocations: 1.265 MB / 1.344 GB, free: 5.809 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.4146, allocations: 1.01 MB / 1.345 GB, free: 4.719 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4146, allocations: 0 / 1.345 GB, free: 4.719 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.4156, allocations: 0.727 MB / 1.346 GB, free: 3.91 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.4166, allocations: 215.1 kB / 1.346 GB, free: 3.707 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/0.4238, allocations: 5.163 MB / 1.351 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.4244, allocations: 0.9174 MB / 1.352 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003883/0.4248, allocations: 113.3 kB / 1.352 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.425, allocations: 199.4 kB / 1.353 GB, free: 12.9 MB / 1.061 GB Notification: Performance of SimCode: time 1.243e-06/0.425, allocations: 4 kB / 1.353 GB, free: 12.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05179/0.4768, allocations: 12.93 MB / 1.365 GB, free: 256 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.26, allocations: 16.17 kB / 1.365 GB, free: 244 kB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.862924327142537]