Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_RLC_N,fileNamePrefix="Buildings_10_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_10_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.004706/0.004706, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001376/0.001376, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.246/1.246, 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 10.1.1-maint.10.0.x/package.mo): time 2.288/2.288, allocations: 437.1 MB / 0.7106 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001686, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2325, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04152/0.2741, allocations: 41.18 MB / 1.206 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.2952, allocations: 15.09 MB / 1.221 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.2979, allocations: 187.1 kB / 1.221 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009409/0.3073, allocations: 4.468 MB / 1.226 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005383/0.3127, allocations: 2.786 MB / 1.228 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005755/0.3185, allocations: 3.169 MB / 1.232 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01073/0.3292, allocations: 11.4 MB / 1.243 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4547/0.7839, allocations: 12.46 MB / 1.255 GB, free: 16.31 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006289/0.7903, allocations: 4.815 MB / 1.26 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007074/0.7974, allocations: 5.392 MB / 1.265 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00136/0.7987, allocations: 0.9489 MB / 1.266 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003564/0.8023, allocations: 2.035 MB / 1.268 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003028/0.8053, allocations: 3.695 MB / 1.271 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003899/0.8092, allocations: 4.296 MB / 1.276 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.8228, allocations: 14.32 MB / 1.289 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.8229, allocations: 1.562 kB / 1.289 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8229, allocations: 0 / 1.289 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002936/0.8232, allocations: 1.719 kB / 1.289 GB, free: 12.85 MB / 0.9981 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.01453/0.8377, allocations: 7.796 MB / 1.297 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.8378, allocations: 10.69 kB / 1.297 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001103/0.8389, allocations: 0.8927 MB / 1.298 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008307/0.8472, allocations: 1.556 MB / 1.3 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005941/0.8531, allocations: 4.464 MB / 1.304 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.8534, allocations: 459.3 kB / 1.304 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009186/0.8543, allocations: 0.5956 MB / 1.305 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.8677, allocations: 10.68 MB / 1.315 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/0.8679, allocations: 37.31 kB / 1.315 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006498/0.8685, allocations: 260.4 kB / 1.316 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/0.871, allocations: 0.7744 MB / 1.316 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.8811, allocations: 8.556 MB / 1.325 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04515/0.9263, allocations: 46.61 MB / 1.37 GB, free: 6.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/0.9311, allocations: 4.315 MB / 1.374 GB, free: 3.414 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004568/0.9356, allocations: 3.718 MB / 1.378 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.9359, allocations: 38.78 kB / 1.378 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/0.9359, allocations: 73.33 kB / 1.378 GB, free: 15.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=353): time 4.378e-06/0.9359, allocations: 0 / 1.378 GB, free: 15.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=578): time 0.4551/1.391, allocations: 122.9 MB / 1.498 GB, free: 4.312 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/1.391, allocations: 111.9 kB / 1.498 GB, free: 4.188 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003339/1.394, allocations: 2.689 MB / 1.501 GB, free: 1.5 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003878/1.395, allocations: 125.7 kB / 1.501 GB, free: 1.371 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001762/1.397, allocations: 2.743 MB / 1.504 GB, free: 14.61 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/1.398, allocations: 2.05 MB / 1.506 GB, free: 12.59 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/1.4, allocations: 0.9212 MB / 1.507 GB, free: 11.66 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.4, allocations: 309.1 kB / 1.507 GB, free: 11.35 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005419/1.406, allocations: 4.079 MB / 1.511 GB, free: 7.266 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006123/1.412, allocations: 5.01 MB / 1.516 GB, free: 1.938 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.424, allocations: 9.856 MB / 1.525 GB, free: 7.801 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.424, allocations: 4 kB / 1.525 GB, free: 7.797 MB / 1.201 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03447/1.459, allocations: 17.02 MB / 1.542 GB, free: 7.043 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/1.459, allocations: 20.25 kB / 1.542 GB, free: 7.023 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/1.459, allocations: 23.98 kB / 1.542 GB, free: 7 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02838/1.487, allocations: 9.09 MB / 1.551 GB, free: 13.87 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/1.489, allocations: 0.5223 MB / 1.551 GB, free: 13.38 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1009/1.59, allocations: 77.03 MB / 1.627 GB, free: 14.95 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/1.595, allocations: 282.4 kB / 1.627 GB, free: 14.67 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004719/1.595, allocations: 188 kB / 1.627 GB, free: 14.49 MB / 1.311 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.004084/1.599, allocations: 2.425 MB / 1.63 GB, free: 12.09 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000771/1.6, allocations: 493 kB / 1.63 GB, free: 11.6 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0347/1.635, allocations: 16.83 MB / 1.646 GB, free: 10.89 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/1.635, allocations: 59.94 kB / 1.646 GB, free: 10.83 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.944e-05/1.635, allocations: 68 kB / 1.647 GB, free: 10.77 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-05/1.635, allocations: 27.89 kB / 1.647 GB, free: 10.74 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04564/1.68, allocations: 25.65 MB / 1.672 GB, free: 1.148 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/1.68, allocations: 7.984 kB / 1.672 GB, free: 1.141 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.682, allocations: 319 kB / 1.672 GB, free: 0.8438 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02601/1.708, allocations: 8.27 MB / 1.68 GB, free: 8.543 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000374/1.708, allocations: 104 kB / 1.68 GB, free: 8.441 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09599/1.804, allocations: 73.91 MB / 1.752 GB, free: 13.11 MB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/1.804, allocations: 10.91 kB / 1.752 GB, free: 13.11 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03856/1.843, allocations: 21.58 MB / 1.773 GB, free: 7.434 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/1.846, allocations: 1.388 MB / 1.775 GB, free: 6.023 MB / 1.451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006704/1.846, allocations: 104 kB / 1.775 GB, free: 5.922 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/1.849, allocations: 287.6 kB / 1.775 GB, free: 5.641 MB / 1.451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001514/1.851, allocations: 0.5275 MB / 1.776 GB, free: 5.117 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003935/1.851, allocations: 144 kB / 1.776 GB, free: 4.977 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.002282/1.853, allocations: 1.776 MB / 1.777 GB, free: 3.211 MB / 1.451 GB Notification: Performance of sort global known variables: time 2.064e-06/1.853, allocations: 0 / 1.777 GB, free: 3.211 MB / 1.451 GB Notification: Performance of remove unused functions: time 0.00563/1.859, allocations: 2.465 MB / 1.78 GB, free: 0.7461 MB / 1.451 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.4654/2.324, allocations: 22.29 MB / 1.802 GB, free: 0.4974 GB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.02139/2.346, allocations: 14.58 MB / 1.816 GB, free: 0.4956 GB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/2.346, allocations: 8.484 kB / 1.816 GB, free: 0.4956 GB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.01338/2.359, allocations: 9.386 MB / 1.825 GB, free: 0.4938 GB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/2.364, allocations: 1.374 MB / 1.826 GB, free: 0.4937 GB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09444/2.458, allocations: 70.4 MB / 1.895 GB, free: 473.8 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003924/2.462, allocations: 4.893 MB / 1.9 GB, free: 469.6 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002032/2.464, allocations: 0.741 MB / 1.901 GB, free: 468.9 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/2.466, allocations: 2.616 MB / 1.903 GB, free: 466.3 MB / 1.467 GB Notification: Performance of SimCode: time 4.01e-07/2.466, allocations: 0 / 1.903 GB, free: 466.3 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.87/14.33, allocations: 196.5 MB / 2.095 GB, free: 271.3 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.32/40.65, allocations: 20.3 kB / 2.095 GB, free: 271.3 MB / 1.467 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches