Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007157/0.007157, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001878/0.001878, allocations: 197.4 kB / 16.67 MB, free: 5.973 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.479/2.479, allocations: 437.1 MB / 0.7106 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 75.81 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2523, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02258/0.2749, allocations: 20.26 MB / 1.186 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.285, allocations: 6.437 MB / 1.192 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.2861, allocations: 83.62 kB / 1.192 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004919/0.2911, allocations: 2.251 MB / 1.195 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.294, allocations: 1.177 MB / 1.196 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.297, allocations: 1.281 MB / 1.197 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005446/0.3025, allocations: 4.85 MB / 1.202 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006118/0.3086, allocations: 5.595 MB / 1.207 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.3113, allocations: 2.084 MB / 1.209 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.314, allocations: 2.344 MB / 1.211 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005737/0.3146, allocations: 428 kB / 1.212 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.3163, allocations: 1.01 MB / 1.213 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.3178, allocations: 1.661 MB / 1.214 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001961/0.3198, allocations: 1.91 MB / 1.216 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006282/0.326, allocations: 6.541 MB / 1.223 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3261, allocations: 0 / 1.223 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3261, allocations: 0 / 1.223 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001066/0.3262, allocations: 0 / 1.223 GB, free: 13.12 MB / 0.9825 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.005995/0.3322, allocations: 3.537 MB / 1.226 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3322, allocations: 16.03 kB / 1.226 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005517/0.3328, allocations: 454.6 kB / 1.227 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/0.3359, allocations: 0.6545 MB / 1.227 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/0.3391, allocations: 2.054 MB / 1.229 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.3393, allocations: 226.3 kB / 1.23 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004256/0.3397, allocations: 296.1 kB / 1.23 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007309/0.347, allocations: 4.878 MB / 1.235 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.857e-05/0.3471, allocations: 15.92 kB / 1.235 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/0.3474, allocations: 132 kB / 1.235 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003879/0.3478, allocations: 225.7 kB / 1.235 GB, free: 332 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005465/0.3533, allocations: 3.75 MB / 1.239 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4587/0.8119, allocations: 21.44 MB / 1.26 GB, free: 66.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.8136, allocations: 1.298 MB / 1.261 GB, free: 66.63 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.815, allocations: 1.058 MB / 1.262 GB, free: 66.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-05/0.8151, allocations: 12.44 kB / 1.262 GB, free: 66.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.8151, allocations: 51.52 kB / 1.262 GB, free: 66.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=107): time 2.835e-06/0.8151, allocations: 0 / 1.262 GB, free: 66.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.02334/0.8385, allocations: 8.698 MB / 1.27 GB, free: 63.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.8385, allocations: 66.19 kB / 1.27 GB, free: 63.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.8398, allocations: 1.133 MB / 1.272 GB, free: 63.06 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.8399, allocations: 47.86 kB / 1.272 GB, free: 63.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005738/0.8404, allocations: 1.337 MB / 1.273 GB, free: 62.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/0.8407, allocations: 0.4985 MB / 1.273 GB, free: 61.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/0.8411, allocations: 293.5 kB / 1.274 GB, free: 61.72 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.196e-05/0.8412, allocations: 306.2 kB / 1.274 GB, free: 61.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.8423, allocations: 0.913 MB / 1.275 GB, free: 61.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.8435, allocations: 1.323 MB / 1.276 GB, free: 60.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002411/0.846, allocations: 2.424 MB / 1.278 GB, free: 58.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.846, allocations: 4.531 kB / 1.279 GB, free: 58.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005239/0.8512, allocations: 3.475 MB / 1.282 GB, free: 57.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.8513, allocations: 11.97 kB / 1.282 GB, free: 57.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.8513, allocations: 14.86 kB / 1.282 GB, free: 57.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/0.8542, allocations: 1.192 MB / 1.283 GB, free: 57.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008282/0.855, allocations: 259.6 kB / 1.283 GB, free: 57.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/0.8692, allocations: 13.86 MB / 1.297 GB, free: 48.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.8704, allocations: 92.12 kB / 1.297 GB, free: 48.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.8705, allocations: 66.14 kB / 1.297 GB, free: 48.61 MB / 0.9981 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.001488/0.872, allocations: 1.116 MB / 1.298 GB, free: 48.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.8722, allocations: 169.1 kB / 1.298 GB, free: 48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/0.8773, allocations: 3.17 MB / 1.301 GB, free: 46.71 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.8773, allocations: 16.33 kB / 1.301 GB, free: 46.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.8773, allocations: 12.72 kB / 1.301 GB, free: 46.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.8774, allocations: 10.56 kB / 1.301 GB, free: 46.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009037/0.8864, allocations: 6.247 MB / 1.308 GB, free: 44.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.8864, allocations: 4.719 kB / 1.308 GB, free: 44.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.887, allocations: 151 kB / 1.308 GB, free: 44.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/0.8895, allocations: 1.076 MB / 1.309 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/0.8896, allocations: 32.53 kB / 1.309 GB, free: 43.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/0.9029, allocations: 13.53 MB / 1.322 GB, free: 34.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.9029, allocations: 9.625 kB / 1.322 GB, free: 34.37 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/0.907, allocations: 3.167 MB / 1.325 GB, free: 32.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.9075, allocations: 430.5 kB / 1.325 GB, free: 32.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.9077, allocations: 23.88 kB / 1.325 GB, free: 32.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006969/0.9084, allocations: 87.45 kB / 1.326 GB, free: 32.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.9087, allocations: 128 kB / 1.326 GB, free: 32.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.9087, allocations: 37.34 kB / 1.326 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000737/0.9095, allocations: 0.7656 MB / 1.326 GB, free: 31.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9095, allocations: 0 / 1.326 GB, free: 31.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001696/0.9112, allocations: 0.6605 MB / 1.327 GB, free: 31.54 MB / 0.9981 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.003974/0.9152, allocations: 3.751 MB / 1.331 GB, free: 29.08 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003554/0.9187, allocations: 3.145 MB / 1.334 GB, free: 27.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.9187, allocations: 0 / 1.334 GB, free: 27.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.9208, allocations: 1.962 MB / 1.336 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.9226, allocations: 0.5025 MB / 1.336 GB, free: 25.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/0.9427, allocations: 19.19 MB / 1.355 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.9442, allocations: 2.34 MB / 1.357 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007528/0.945, allocations: 354.1 kB / 1.358 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007886/0.9458, allocations: 1.007 MB / 1.359 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.9458, allocations: 0 / 1.359 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.507/3.452, allocations: 52.29 MB / 1.41 GB, free: 14.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/22.03, allocations: 15.73 kB / 1.41 GB, free: 14.22 MB / 1.061 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches