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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001545/0.001545, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001781/0.001781, allocations: 191 kB / 16.25 MB, free: 6.637 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.3 MB / 0.6644 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.553/0.5545, allocations: 140.4 MB / 0.9492 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02059/0.5751, allocations: 20.11 MB / 0.9689 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.5856, allocations: 6.379 MB / 0.9751 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.5872, allocations: 79.03 kB / 0.9752 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005424/0.5927, allocations: 2.105 MB / 0.9772 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.5961, allocations: 1.087 MB / 0.9783 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.5995, allocations: 1.167 MB / 0.9794 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005962/0.6055, allocations: 4.871 MB / 0.9842 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009875/0.6154, allocations: 6.756 MB / 0.9908 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00395/0.6194, allocations: 2.126 MB / 0.9929 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003731/0.6231, allocations: 2.454 MB / 0.9953 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.6241, allocations: 432 kB / 0.9957 GB, free: 2.309 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/0.6266, allocations: 0.9986 MB / 0.9967 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.6285, allocations: 1.661 MB / 0.9983 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002613/0.6311, allocations: 1.906 MB / 1 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005703/0.6368, allocations: 6.536 MB / 1.007 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6368, allocations: 0 / 1.007 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6369, allocations: 0 / 1.007 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.991e-05/0.6369, allocations: 0 / 1.007 GB, free: 7.176 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.00528/0.6422, allocations: 3.452 MB / 1.01 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6422, allocations: 12.03 kB / 1.01 GB, free: 3.648 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005511/0.6428, allocations: 454.6 kB / 1.01 GB, free: 3.191 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/0.6459, allocations: 0.641 MB / 1.011 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.6489, allocations: 1.936 MB / 1.013 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.6491, allocations: 222.3 kB / 1.013 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004064/0.6495, allocations: 304 kB / 1.013 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006678/0.6562, allocations: 4.882 MB / 1.018 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-05/0.6562, allocations: 11.84 kB / 1.018 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/0.6565, allocations: 132 kB / 1.018 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003904/0.6569, allocations: 233.7 kB / 1.018 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005986/0.6629, allocations: 3.75 MB / 1.022 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02211/0.6851, allocations: 21.57 MB / 1.043 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.6868, allocations: 1.304 MB / 1.044 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.6882, allocations: 1.049 MB / 1.046 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.74e-05/0.6883, allocations: 13 kB / 1.046 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.6883, allocations: 47.55 kB / 1.046 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=107): time 3.006e-06/0.6883, allocations: 4 kB / 1.046 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=138): time 0.02344/0.7118, allocations: 8.649 MB / 1.054 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.7118, allocations: 68.72 kB / 1.054 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.7131, allocations: 1.13 MB / 1.055 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.597e-05/0.7133, allocations: 45.7 kB / 1.055 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007665/0.714, allocations: 1.3 MB / 1.057 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.7144, allocations: 485 kB / 1.057 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/0.7149, allocations: 291.3 kB / 1.057 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.715, allocations: 309 kB / 1.058 GB, free: 452 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.7162, allocations: 0.9175 MB / 1.058 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.7178, allocations: 1.322 MB / 1.06 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/0.7208, allocations: 2.43 MB / 1.062 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.7208, allocations: 0 / 1.062 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006182/0.727, allocations: 3.468 MB / 1.065 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.7271, allocations: 12 kB / 1.066 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.7271, allocations: 12 kB / 1.066 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003473/0.7306, allocations: 1.187 MB / 1.067 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009436/0.7315, allocations: 259.5 kB / 1.067 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/0.7486, allocations: 13.85 MB / 1.08 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.7498, allocations: 91.97 kB / 1.081 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.7499, allocations: 60 kB / 1.081 GB, free: 8.055 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.001623/0.7515, allocations: 1.11 MB / 1.082 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.7519, allocations: 162.1 kB / 1.082 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005544/0.7574, allocations: 3.169 MB / 1.085 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.7574, allocations: 16 kB / 1.085 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/0.7575, allocations: 19.92 kB / 1.085 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.7575, allocations: 3.984 kB / 1.085 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009967/0.7675, allocations: 6.249 MB / 1.091 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.7675, allocations: 8 kB / 1.091 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.7681, allocations: 143.8 kB / 1.091 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00291/0.771, allocations: 1.083 MB / 1.092 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.74e-05/0.7711, allocations: 32 kB / 1.092 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01667/0.7878, allocations: 13.54 MB / 1.106 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/0.7878, allocations: 8 kB / 1.106 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00542/0.7933, allocations: 3.15 MB / 1.109 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008761/0.7942, allocations: 427 kB / 1.109 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.7945, allocations: 32 kB / 1.109 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.7953, allocations: 79.89 kB / 1.109 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/0.7957, allocations: 124.7 kB / 1.109 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.095e-05/0.7958, allocations: 40 kB / 1.109 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001021/0.7968, allocations: 0.767 MB / 1.11 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7968, allocations: 0 / 1.11 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001896/0.7987, allocations: 0.6602 MB / 1.111 GB, free: 8.551 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.005501/0.8042, allocations: 3.748 MB / 1.114 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005815/0.81, allocations: 3.642 MB / 1.118 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.81, allocations: 4.062 kB / 1.118 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002886/0.8129, allocations: 1.955 MB / 1.12 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.815, allocations: 497.8 kB / 1.12 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03192/0.8469, allocations: 21.37 MB / 1.141 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00246/0.8494, allocations: 2.34 MB / 1.143 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001049/0.8504, allocations: 354.1 kB / 1.144 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.8516, allocations: 1.007 MB / 1.145 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of SimCode: time 8.32e-07/0.8516, allocations: 0 / 1.145 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08045/0.932, allocations: 51.52 MB / 1.195 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.9323, allocations: 245.9 kB / 1.195 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/3.751, allocations: 0 / 1.195 GB, free: 1.531 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