Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.0009084/0.0009085, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007025/0.007025, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.202/1.202, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.176/2.176, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5838/0.5841, allocations: 142.4 MB / 0.9552 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02084/0.605, allocations: 19.49 MB / 0.9742 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.6164, allocations: 6.378 MB / 0.9804 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.6181, allocations: 74.31 kB / 0.9805 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.6191, allocations: 409.4 kB / 0.9809 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.622, allocations: 1.113 MB / 0.982 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.6247, allocations: 1.073 MB / 0.983 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008096/0.6328, allocations: 6.983 MB / 0.9899 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.6439, allocations: 7.257 MB / 0.9969 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.6468, allocations: 1.498 MB / 0.9984 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003262/0.6501, allocations: 2.024 MB / 1 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004442/0.6506, allocations: 180 kB / 1.001 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.6527, allocations: 0.9163 MB / 1.001 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.6543, allocations: 1.352 MB / 1.003 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.6562, allocations: 1.572 MB / 1.004 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005731/0.6619, allocations: 6.21 MB / 1.01 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.662, allocations: 3.984 kB / 1.01 GB, free: 6.605 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.964e-06/0.662, allocations: 0 / 1.01 GB, free: 6.605 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001256/0.6621, allocations: 0 / 1.01 GB, free: 6.605 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005705/0.6678, allocations: 2.82 MB / 1.013 GB, free: 3.723 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.6679, allocations: 8.031 kB / 1.013 GB, free: 3.715 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007986/0.6687, allocations: 458.5 kB / 1.014 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/0.6721, allocations: 0.6371 MB / 1.014 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.6754, allocations: 1.943 MB / 1.016 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.6756, allocations: 222.3 kB / 1.016 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004816/0.676, allocations: 300 kB / 1.017 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008198/0.6842, allocations: 4.882 MB / 1.021 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.49e-05/0.6844, allocations: 15.94 kB / 1.021 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002953/0.6847, allocations: 128 kB / 1.021 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000413/0.6851, allocations: 229.7 kB / 1.022 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005822/0.6909, allocations: 3.75 MB / 1.025 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/0.7114, allocations: 21.63 MB / 1.046 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.7131, allocations: 1.307 MB / 1.048 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.7145, allocations: 1.038 MB / 1.049 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.7145, allocations: 13 kB / 1.049 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.7146, allocations: 43.56 kB / 1.049 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=107): time 3.196e-06/0.7146, allocations: 0 / 1.049 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=138): time 0.02299/0.7376, allocations: 8.707 MB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.7377, allocations: 76.7 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.739, allocations: 1.13 MB / 1.059 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.7391, allocations: 49.7 kB / 1.059 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/0.7399, allocations: 1.3 MB / 1.06 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/0.7403, allocations: 473.2 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.7405, allocations: 133.6 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.7406, allocations: 305.1 kB / 1.061 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.7418, allocations: 0.9135 MB / 1.062 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.7433, allocations: 1.33 MB / 1.063 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002968/0.7463, allocations: 2.426 MB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.7463, allocations: 4 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005878/0.7522, allocations: 3.468 MB / 1.069 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.7522, allocations: 12 kB / 1.069 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.7523, allocations: 15.94 kB / 1.069 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003082/0.7554, allocations: 1.182 MB / 1.07 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.7562, allocations: 255.6 kB / 1.07 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/0.7726, allocations: 12.76 MB / 1.083 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.7742, allocations: 91.91 kB / 1.083 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/0.7745, allocations: 64 kB / 1.083 GB, free: 9.289 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002311/0.7769, allocations: 1.118 MB / 1.084 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/0.7773, allocations: 162.1 kB / 1.084 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006065/0.7834, allocations: 3.177 MB / 1.087 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.7835, allocations: 12 kB / 1.087 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-05/0.7835, allocations: 12 kB / 1.087 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.7835, allocations: 11.91 kB / 1.087 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.7944, allocations: 6.241 MB / 1.093 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.7944, allocations: 4 kB / 1.093 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.795, allocations: 152.3 kB / 1.093 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002773/0.7978, allocations: 1.079 MB / 1.094 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.801e-05/0.7979, allocations: 28 kB / 1.094 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/0.8132, allocations: 12.44 MB / 1.107 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.8132, allocations: 15.92 kB / 1.107 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005305/0.8185, allocations: 3.154 MB / 1.11 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008728/0.8194, allocations: 427.1 kB / 1.11 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003514/0.8198, allocations: 27.94 kB / 1.11 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.8208, allocations: 87.83 kB / 1.11 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/0.8212, allocations: 124.7 kB / 1.11 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.54e-05/0.8213, allocations: 36 kB / 1.11 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001266/0.8226, allocations: 0.771 MB / 1.111 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8226, allocations: 0 / 1.111 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002588/0.8252, allocations: 0.6562 MB / 1.112 GB, free: 10.89 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005917/0.8311, allocations: 3.748 MB / 1.115 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005277/0.8365, allocations: 3.127 MB / 1.118 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.8365, allocations: 4.25 kB / 1.118 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003119/0.8396, allocations: 1.963 MB / 1.12 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/0.843, allocations: 480.1 kB / 1.121 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/0.8764, allocations: 21.38 MB / 1.142 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003048/0.8795, allocations: 2.34 MB / 1.144 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001257/0.8808, allocations: 354.1 kB / 1.144 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/0.8822, allocations: 1.007 MB / 1.145 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of SimCode: time 1.412e-06/0.8822, allocations: 0 / 1.145 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.221/3.103, allocations: 49.34 MB / 1.193 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/3.104, allocations: 256.5 kB / 1.194 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.679/7.783, allocations: 0 / 1.194 GB, free: 6.539 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches