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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007309/0.007309, allocations: 102.7 kB / 15.74 MB, free: 5.551 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.001807/0.001808, allocations: 194.6 kB / 16.67 MB, free: 5.48 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.497/2.497, allocations: 469.4 MB / 0.7422 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.89 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8151/0.8165, allocations: 159.1 MB / 1.22 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04266/0.8592, allocations: 41.18 MB / 1.26 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02601/0.8853, allocations: 15.08 MB / 1.275 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005299/0.8906, allocations: 187.1 kB / 1.275 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01137/0.9021, allocations: 4.478 MB / 1.279 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008591/0.9107, allocations: 2.923 MB / 1.282 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009184/0.9199, allocations: 3.16 MB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01443/0.9344, allocations: 11.42 MB / 1.296 GB, free: 3.594 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01874/0.9531, allocations: 12.47 MB / 1.309 GB, free: 6.984 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008294/0.9615, allocations: 4.907 MB / 1.313 GB, free: 2.062 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008866/0.9704, allocations: 5.386 MB / 1.319 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003007/0.9734, allocations: 0.9492 MB / 1.32 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00586/0.9793, allocations: 2.044 MB / 1.322 GB, free: 9.664 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.005925/0.9852, allocations: 3.699 MB / 1.325 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01089/0.9961, allocations: 4.299 MB / 1.329 GB, free: 1.641 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02109/1.017, allocations: 14.31 MB / 1.343 GB, free: 3.285 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.017, allocations: 0 / 1.343 GB, free: 3.285 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.963e-06/1.017, allocations: 0 / 1.343 GB, free: 3.285 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0004631/1.018, allocations: 0 / 1.343 GB, free: 3.285 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.02249/1.04, allocations: 7.787 MB / 1.351 GB, free: 11.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.04, allocations: 12.62 kB / 1.351 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003179/1.044, allocations: 0.8916 MB / 1.352 GB, free: 10.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/1.055, allocations: 1.561 MB / 1.353 GB, free: 8.926 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/1.067, allocations: 4.462 MB / 1.358 GB, free: 4.391 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000496/1.067, allocations: 452.5 kB / 1.358 GB, free: 3.945 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002882/1.07, allocations: 0.6017 MB / 1.359 GB, free: 3.344 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/1.092, allocations: 10.69 MB / 1.369 GB, free: 8.273 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/1.092, allocations: 35.7 kB / 1.369 GB, free: 8.238 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/1.093, allocations: 267.9 kB / 1.369 GB, free: 7.977 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002856/1.096, allocations: 0.769 MB / 1.37 GB, free: 7.203 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/1.112, allocations: 8.561 MB / 1.379 GB, free: 14.62 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0608/1.173, allocations: 46.6 MB / 1.424 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00552/1.178, allocations: 4.315 MB / 1.428 GB, free: 7.941 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004963/1.183, allocations: 3.716 MB / 1.432 GB, free: 4.215 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003288/1.184, allocations: 34.78 kB / 1.432 GB, free: 4.18 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.524e-05/1.184, allocations: 85.27 kB / 1.432 GB, free: 4.086 MB / 1.154 GB Notification: Performance of pre-optimization done (n=353): time 6.402e-06/1.184, allocations: 0 / 1.432 GB, free: 4.086 MB / 1.154 GB Notification: Performance of matching and sorting (n=578): time 0.5096/1.693, allocations: 122.9 MB / 1.552 GB, free: 8.352 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.693, allocations: 111.9 kB / 1.552 GB, free: 8.227 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004486/1.698, allocations: 2.677 MB / 1.555 GB, free: 5.551 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001067/1.699, allocations: 121.7 kB / 1.555 GB, free: 5.426 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001843/1.701, allocations: 2.749 MB / 1.558 GB, free: 2.652 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002469/1.703, allocations: 2.053 MB / 1.56 GB, free: 0.582 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.6343/2.338, allocations: 0.9282 MB / 1.56 GB, free: 314.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.188e-05/2.338, allocations: 301.7 kB / 1.561 GB, free: 314.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00856/2.346, allocations: 4.083 MB / 1.565 GB, free: 313.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008179/2.354, allocations: 5.01 MB / 1.57 GB, free: 310.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01556/2.37, allocations: 9.856 MB / 1.579 GB, free: 305.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.535e-05/2.37, allocations: 3.938 kB / 1.579 GB, free: 305.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03765/2.408, allocations: 17.02 MB / 1.596 GB, free: 299.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/2.408, allocations: 16.64 kB / 1.596 GB, free: 299.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/2.408, allocations: 29.84 kB / 1.596 GB, free: 299.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02915/2.437, allocations: 9.085 MB / 1.605 GB, free: 296.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/2.44, allocations: 0.5206 MB / 1.605 GB, free: 296.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08534/2.525, allocations: 77.03 MB / 1.68 GB, free: 220.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005276/2.53, allocations: 275.8 kB / 1.681 GB, free: 219.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009451/2.531, allocations: 196 kB / 1.681 GB, free: 219.6 MB / 1.279 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.003967/2.535, allocations: 2.42 MB / 1.683 GB, free: 217.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/2.536, allocations: 496.9 kB / 1.684 GB, free: 216.7 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03253/2.569, allocations: 16.82 MB / 1.7 GB, free: 199.7 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-05/2.569, allocations: 52 kB / 1.7 GB, free: 199.7 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001952/2.569, allocations: 75.98 kB / 1.7 GB, free: 199.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001086/2.569, allocations: 31.83 kB / 1.7 GB, free: 199.6 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04616/2.615, allocations: 25.66 MB / 1.725 GB, free: 173.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.015e-05/2.615, allocations: 10.62 kB / 1.725 GB, free: 173.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/2.617, allocations: 315.6 kB / 1.726 GB, free: 173.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02586/2.643, allocations: 8.278 MB / 1.734 GB, free: 165.1 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001042/2.644, allocations: 112 kB / 1.734 GB, free: 164.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08095/2.725, allocations: 73.9 MB / 1.806 GB, free: 89.52 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/2.725, allocations: 8.562 kB / 1.806 GB, free: 89.51 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03713/2.762, allocations: 21.58 MB / 1.827 GB, free: 67.55 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003514/2.766, allocations: 1.38 MB / 1.829 GB, free: 66.15 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/2.767, allocations: 112 kB / 1.829 GB, free: 66.04 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003353/2.77, allocations: 291.6 kB / 1.829 GB, free: 65.76 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001608/2.772, allocations: 0.5259 MB / 1.829 GB, free: 65.23 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003409/2.772, allocations: 140 kB / 1.83 GB, free: 65.09 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002175/2.774, allocations: 1.784 MB / 1.831 GB, free: 63.32 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.51e-07/2.774, allocations: 0 / 1.831 GB, free: 63.32 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.006919/2.781, allocations: 2.461 MB / 1.834 GB, free: 60.86 MB / 1.279 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.03613/2.817, allocations: 22.3 MB / 1.855 GB, free: 38.19 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02187/2.839, allocations: 14.58 MB / 1.87 GB, free: 23.42 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/2.839, allocations: 4 kB / 1.87 GB, free: 23.41 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01543/2.855, allocations: 9.399 MB / 1.879 GB, free: 13.88 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006092/2.861, allocations: 1.371 MB / 1.88 GB, free: 12.55 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1408/3.002, allocations: 70.41 MB / 1.949 GB, free: 4.496 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007055/3.009, allocations: 4.893 MB / 1.954 GB, free: 15.56 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002812/3.012, allocations: 0.7449 MB / 1.955 GB, free: 14.81 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003017/3.015, allocations: 2.608 MB / 1.957 GB, free: 12.2 MB / 1.357 GB Notification: Performance of SimCode: time 1.383e-06/3.015, allocations: 0 / 1.957 GB, free: 12.2 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9774/3.992, allocations: 196.5 MB / 2.149 GB, free: 0.4998 GB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.95/23.94, allocations: 1.969 kB / 2.149 GB, free: 0.4998 GB / 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 50 --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