Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.00149, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001627, allocations: 196.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 71.88 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5821, allocations: 140.3 MB / 0.9491 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004798/0.5869, allocations: 4.919 MB / 0.9539 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00319/0.5902, allocations: 2.499 MB / 0.9563 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.5905, allocations: 24.41 kB / 0.9563 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009237/0.5914, allocations: 379.1 kB / 0.9567 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006954/0.5921, allocations: 419.5 kB / 0.9571 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.5928, allocations: 360.3 kB / 0.9574 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008431/0.5936, allocations: 1.137 MB / 0.9585 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005005/0.5941, allocations: 347.1 kB / 0.9589 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.5945, allocations: 305.4 kB / 0.9592 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.5948, allocations: 343.8 kB / 0.9595 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.5949, allocations: 25.53 kB / 0.9595 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006518/0.5955, allocations: 0.4972 MB / 0.96 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.5957, allocations: 170.6 kB / 0.9602 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.5959, allocations: 303 kB / 0.9605 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007179/0.5966, allocations: 0.8965 MB / 0.9613 GB, free: 140 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.5966, allocations: 4 kB / 0.9613 GB, free: 136 kB / 0.7169 GB Notification: Performance of FrontEnd: time 8.62e-07/0.5966, allocations: 1.094 kB / 0.9613 GB, free: 136 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5967, allocations: 0 / 0.9613 GB, free: 136 kB / 0.7169 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.001388/0.5981, allocations: 0.9476 MB / 0.9623 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5981, allocations: 9.5 kB / 0.9623 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.5982, allocations: 97.14 kB / 0.9624 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.5994, allocations: 205.3 kB / 0.9626 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.6001, allocations: 0.4899 MB / 0.963 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.6001, allocations: 34.98 kB / 0.9631 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.6002, allocations: 53.52 kB / 0.9631 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009854/0.6012, allocations: 0.8473 MB / 0.9639 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.6012, allocations: 11.92 kB / 0.964 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.6013, allocations: 27.58 kB / 0.964 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.825e-05/0.6013, allocations: 63.06 kB / 0.964 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.6021, allocations: 0.5665 MB / 0.9646 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004252/0.6064, allocations: 5.649 MB / 0.9701 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.6071, allocations: 458.4 kB / 0.9706 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.6074, allocations: 228.6 kB / 0.9708 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.6074, allocations: 2.5 kB / 0.9708 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.6075, allocations: 36.72 kB / 0.9708 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/0.6075, allocations: 0 / 0.9708 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002427/0.6099, allocations: 1.511 MB / 0.9723 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.61, allocations: 55.38 kB / 0.9723 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/0.6105, allocations: 0.5051 MB / 0.9728 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.6106, allocations: 34.83 kB / 0.9729 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.6108, allocations: 360.5 kB / 0.9732 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.022e-05/0.6109, allocations: 114.3 kB / 0.9733 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.6111, allocations: 116 kB / 0.9734 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6112, allocations: 367.9 kB / 0.9738 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.6115, allocations: 197.7 kB / 0.974 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.612, allocations: 448.9 kB / 0.9744 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008103/0.6128, allocations: 0.6888 MB / 0.9751 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6128, allocations: 6.188 kB / 0.9751 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001244/0.6141, allocations: 0.8009 MB / 0.9759 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6141, allocations: 9.219 kB / 0.9759 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6141, allocations: 19.86 kB / 0.9759 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004756/0.6146, allocations: 154.3 kB / 0.976 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.615, allocations: 121.6 kB / 0.9761 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.6181, allocations: 4.037 MB / 0.9801 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.6185, allocations: 34.16 kB / 0.9801 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.6185, allocations: 26.69 kB / 0.9801 GB, free: 15.66 MB / 0.7481 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.0002532/0.6188, allocations: 215.2 kB / 0.9803 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/0.6189, allocations: 61.72 kB / 0.9804 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.6199, allocations: 0.5986 MB / 0.981 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6199, allocations: 3.562 kB / 0.981 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.6199, allocations: 9.156 kB / 0.981 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6199, allocations: 5.109 kB / 0.981 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.6217, allocations: 1.262 MB / 0.9822 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6217, allocations: 1.094 kB / 0.9822 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.6219, allocations: 58.67 kB / 0.9823 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004035/0.6223, allocations: 137.4 kB / 0.9824 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.6224, allocations: 11 kB / 0.9824 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.6252, allocations: 4.027 MB / 0.9864 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6253, allocations: 0 / 0.9864 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.6263, allocations: 0.7126 MB / 0.9871 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/0.6266, allocations: 168.2 kB / 0.9872 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.71e-05/0.6267, allocations: 8 kB / 0.9872 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.627, allocations: 23.97 kB / 0.9873 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.6271, allocations: 31.95 kB / 0.9873 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.6271, allocations: 12 kB / 0.9873 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004055/0.6275, allocations: 342.8 kB / 0.9876 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6275, allocations: 0 / 0.9876 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007243/0.6282, allocations: 136 kB / 0.9878 GB, free: 8.355 MB / 0.7481 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.001355/0.6296, allocations: 1.269 MB / 0.989 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.631, allocations: 1.037 MB / 0.99 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.631, allocations: 0 / 0.99 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000823/0.6318, allocations: 0.7385 MB / 0.9907 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.6329, allocations: 194.7 kB / 0.9909 GB, free: 4.898 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007341/0.6402, allocations: 5.449 MB / 0.9962 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.6408, allocations: 0.9098 MB / 0.9971 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004049/0.6412, allocations: 117.3 kB / 0.9972 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.6415, allocations: 195.4 kB / 0.9974 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of SimCode: time 1.092e-06/0.6415, allocations: 4 kB / 0.9974 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.668, allocations: 12.3 MB / 1.009 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/0.6683, allocations: 241.9 kB / 1.01 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.644, allocations: 0 / 1.01 GB, free: 1.543 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches