Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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 12.0.0-master/package.mo", uses=false) 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.007377/0.007378, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001881/0.001881, allocations: 199.7 kB / 16.68 MB, free: 5.961 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 71.89 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2926, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.5677/0.8604, allocations: 41.18 MB / 1.282 GB, free: 8.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02761/0.888, allocations: 15.07 MB / 1.296 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004564/0.8926, allocations: 187.3 kB / 1.297 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01187/0.9045, allocations: 4.471 MB / 1.301 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008337/0.9129, allocations: 2.789 MB / 1.304 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008613/0.9215, allocations: 3.154 MB / 1.307 GB, free: 8.414 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01641/0.938, allocations: 11.4 MB / 1.318 GB, free: 3.297 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01779/0.9558, allocations: 12.48 MB / 1.33 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009374/0.9652, allocations: 4.814 MB / 1.335 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.9753, allocations: 5.391 MB / 1.34 GB, free: 9.785 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002221/0.9775, allocations: 0.9492 MB / 1.341 GB, free: 9.785 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005055/0.9826, allocations: 2.039 MB / 1.343 GB, free: 9.348 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004237/0.9869, allocations: 3.697 MB / 1.347 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006616/0.9935, allocations: 4.299 MB / 1.351 GB, free: 4.273 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01683/1.01, allocations: 14.32 MB / 1.365 GB, free: 9.906 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.01, allocations: 0 / 1.365 GB, free: 9.906 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/1.01, allocations: 4 kB / 1.365 GB, free: 9.902 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002611/1.011, allocations: 0 / 1.365 GB, free: 9.902 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01823/1.029, allocations: 7.789 MB / 1.372 GB, free: 2.914 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/1.029, allocations: 12.03 kB / 1.372 GB, free: 2.902 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001602/1.031, allocations: 0.8916 MB / 1.373 GB, free: 2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/1.041, allocations: 1.565 MB / 1.375 GB, free: 440 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/1.051, allocations: 4.454 MB / 1.379 GB, free: 11.9 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004638/1.052, allocations: 456.4 kB / 1.38 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002879/1.055, allocations: 0.6017 MB / 1.38 GB, free: 10.85 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0229/1.078, allocations: 10.68 MB / 1.391 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/1.078, allocations: 27.81 kB / 1.391 GB, free: 15.77 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007809/1.079, allocations: 271.9 kB / 1.391 GB, free: 15.5 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002946/1.081, allocations: 0.7729 MB / 1.392 GB, free: 14.72 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01709/1.099, allocations: 8.561 MB / 1.4 GB, free: 6.141 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06372/1.162, allocations: 46.59 MB / 1.445 GB, free: 3.797 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006321/1.169, allocations: 4.311 MB / 1.45 GB, free: 15.48 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005799/1.175, allocations: 3.724 MB / 1.453 GB, free: 11.74 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/1.175, allocations: 34.78 kB / 1.453 GB, free: 11.71 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.543e-05/1.175, allocations: 77.34 kB / 1.453 GB, free: 11.62 MB / 1.154 GB Notification: Performance of pre-optimization done (n=353): time 5.57e-06/1.175, allocations: 0 / 1.453 GB, free: 11.62 MB / 1.154 GB Notification: Performance of matching and sorting (n=578): time 0.547/1.722, allocations: 122.9 MB / 1.573 GB, free: 15.88 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.911e-05/1.722, allocations: 119.9 kB / 1.574 GB, free: 15.74 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/1.726, allocations: 2.677 MB / 1.576 GB, free: 13.07 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0008786/1.727, allocations: 121.7 kB / 1.576 GB, free: 12.94 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002114/1.729, allocations: 2.749 MB / 1.579 GB, free: 10.17 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002476/1.732, allocations: 2.049 MB / 1.581 GB, free: 8.102 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002519/1.734, allocations: 0.9329 MB / 1.582 GB, free: 7.16 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.734, allocations: 301.1 kB / 1.582 GB, free: 6.863 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006759/1.741, allocations: 4.079 MB / 1.586 GB, free: 2.777 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009556/1.751, allocations: 5.012 MB / 1.591 GB, free: 13.44 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01728/1.768, allocations: 9.851 MB / 1.601 GB, free: 3.211 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.516e-05/1.768, allocations: 8 kB / 1.601 GB, free: 3.203 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04504/1.813, allocations: 17.02 MB / 1.617 GB, free: 2.051 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/1.813, allocations: 12 kB / 1.617 GB, free: 2.039 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.203e-05/1.813, allocations: 24 kB / 1.617 GB, free: 2.016 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0347/1.848, allocations: 9.081 MB / 1.626 GB, free: 8.895 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/1.851, allocations: 0.5304 MB / 1.627 GB, free: 8.363 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1228/1.973, allocations: 77.03 MB / 1.702 GB, free: 9.75 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00568/1.979, allocations: 279.8 kB / 1.702 GB, free: 9.477 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.98, allocations: 191.9 kB / 1.702 GB, free: 9.289 MB / 1.404 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005718/1.986, allocations: 2.421 MB / 1.705 GB, free: 6.855 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001659/1.988, allocations: 0.4931 MB / 1.705 GB, free: 6.355 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04501/2.033, allocations: 16.82 MB / 1.722 GB, free: 5.395 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.083e-05/2.033, allocations: 56 kB / 1.722 GB, free: 5.34 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002415/2.033, allocations: 72 kB / 1.722 GB, free: 5.27 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001157/2.033, allocations: 31.83 kB / 1.722 GB, free: 5.238 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06326/2.097, allocations: 25.65 MB / 1.747 GB, free: 11.27 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.509e-05/2.097, allocations: 15.92 kB / 1.747 GB, free: 11.25 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/2.099, allocations: 312.5 kB / 1.747 GB, free: 10.95 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03231/2.131, allocations: 8.269 MB / 1.755 GB, free: 2.641 MB / 1.451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001164/2.132, allocations: 112.1 kB / 1.755 GB, free: 2.531 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.649/2.781, allocations: 73.89 MB / 1.828 GB, free: 484.7 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/2.781, allocations: 10.94 kB / 1.828 GB, free: 484.7 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04314/2.824, allocations: 21.59 MB / 1.849 GB, free: 481.7 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003637/2.828, allocations: 1.378 MB / 1.85 GB, free: 481.1 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/2.83, allocations: 111.6 kB / 1.85 GB, free: 481.1 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004452/2.834, allocations: 288.4 kB / 1.85 GB, free: 481 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002228/2.837, allocations: 0.521 MB / 1.851 GB, free: 480.9 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005278/2.837, allocations: 145.7 kB / 1.851 GB, free: 480.9 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.003413/2.841, allocations: 1.776 MB / 1.853 GB, free: 480.2 MB / 1.514 GB Notification: Performance of sort global known variables: time 1.8e-07/2.841, allocations: 0 / 1.853 GB, free: 480.2 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.009846/2.85, allocations: 2.463 MB / 1.855 GB, free: 480 MB / 1.514 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04791/2.898, allocations: 22.3 MB / 1.877 GB, free: 470.4 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.02588/2.924, allocations: 14.58 MB / 1.891 GB, free: 463.7 MB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/2.924, allocations: 3.375 kB / 1.891 GB, free: 463.7 MB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.01833/2.943, allocations: 9.402 MB / 1.9 GB, free: 459 MB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008737/2.951, allocations: 1.371 MB / 1.902 GB, free: 458.5 MB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1217/3.073, allocations: 70.41 MB / 1.97 GB, free: 409.7 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006092/3.079, allocations: 4.893 MB / 1.975 GB, free: 404.8 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.002287/3.082, allocations: 0.741 MB / 1.976 GB, free: 404 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002305/3.084, allocations: 2.608 MB / 1.979 GB, free: 401.4 MB / 1.514 GB Notification: Performance of SimCode: time 5.71e-07/3.084, allocations: 0 / 1.979 GB, free: 401.4 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2569/3.341, allocations: 196.5 MB / 2.17 GB, free: 206.5 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.08/24.43, allocations: 6.5 kB / 2.17 GB, free: 206.5 MB / 1.514 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches