Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001129/0.001129, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 193.4 kB / 16.53 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.555/2.555, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5321/0.5335, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01199/0.5456, allocations: 10.1 MB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.5507, allocations: 3.174 MB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007172/0.5515, allocations: 39.81 kB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.5531, allocations: 0.5908 MB / 1.031 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.5546, allocations: 0.7349 MB / 1.032 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.556, allocations: 0.754 MB / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002964/0.559, allocations: 2.988 MB / 1.035 GB, free: 56 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/0.5622, allocations: 2.624 MB / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.5643, allocations: 1.25 MB / 1.039 GB, free: 12.13 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.5666, allocations: 1.558 MB / 1.041 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004314/0.567, allocations: 232 kB / 1.041 GB, free: 10.34 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.5681, allocations: 0.5071 MB / 1.041 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.5692, allocations: 1.068 MB / 1.042 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.5704, allocations: 1.112 MB / 1.044 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.5737, allocations: 3.661 MB / 1.047 GB, free: 3.977 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.5738, allocations: 4 kB / 1.047 GB, free: 3.973 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5738, allocations: 0 / 1.047 GB, free: 3.973 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.465e-05/0.5738, allocations: 0 / 1.047 GB, free: 3.973 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004203/0.5781, allocations: 2.142 MB / 1.049 GB, free: 1.773 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.5781, allocations: 15.97 kB / 1.049 GB, free: 1.758 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003502/0.5785, allocations: 257.2 kB / 1.049 GB, free: 1.496 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009051/0.5875, allocations: 1.313 MB / 1.051 GB, free: 184 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.59, allocations: 1.259 MB / 1.052 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.042e-05/0.5901, allocations: 111.4 kB / 1.052 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.5904, allocations: 152.3 kB / 1.052 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005109/0.5955, allocations: 3.434 MB / 1.056 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/0.5956, allocations: 7.938 kB / 1.056 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.5958, allocations: 67.97 kB / 1.056 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002403/0.5961, allocations: 203.1 kB / 1.056 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004868/0.601, allocations: 3.124 MB / 1.059 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/0.6185, allocations: 13.62 MB / 1.072 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.6211, allocations: 1.727 MB / 1.074 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.6233, allocations: 1.444 MB / 1.075 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.6235, allocations: 9 kB / 1.075 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.6235, allocations: 47.5 kB / 1.075 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 3.807e-06/0.6235, allocations: 0 / 1.075 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183): time 0.1541/0.7776, allocations: 36.67 MB / 1.111 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.7777, allocations: 73.41 kB / 1.111 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.7793, allocations: 1.05 MB / 1.112 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002603/0.7795, allocations: 57.7 kB / 1.112 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000481/0.78, allocations: 0.7873 MB / 1.113 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000624/0.7807, allocations: 0.6239 MB / 1.114 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008529/0.7815, allocations: 371.3 kB / 1.114 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.7816, allocations: 301.1 kB / 1.114 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/0.7843, allocations: 1.928 MB / 1.116 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002908/0.7872, allocations: 2.281 MB / 1.118 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005518/0.7927, allocations: 4.398 MB / 1.123 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.7928, allocations: 4 kB / 1.123 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02022/0.813, allocations: 9.018 MB / 1.132 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.813, allocations: 8.656 kB / 1.132 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.8131, allocations: 19.94 kB / 1.132 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01699/0.8301, allocations: 5.005 MB / 1.136 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/0.831, allocations: 191.7 kB / 1.137 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05619/0.8872, allocations: 38.92 MB / 1.175 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.8892, allocations: 103.9 kB / 1.175 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002982/0.8895, allocations: 72 kB / 1.175 GB, free: 14.99 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001276/0.8908, allocations: 0.8056 MB / 1.176 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.8912, allocations: 138.3 kB / 1.176 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/0.9107, allocations: 8.886 MB / 1.184 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.9107, allocations: 20 kB / 1.184 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-05/0.9108, allocations: 28 kB / 1.184 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.9108, allocations: 11.95 kB / 1.184 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02706/0.9379, allocations: 13.31 MB / 1.197 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/0.938, allocations: 0 / 1.197 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.9385, allocations: 123.8 kB / 1.198 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01736/0.9559, allocations: 4.781 MB / 1.202 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003245/0.9562, allocations: 32 kB / 1.202 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05564/1.012, allocations: 34.86 MB / 1.236 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.012, allocations: 11.88 kB / 1.236 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01938/1.031, allocations: 8.396 MB / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.033, allocations: 0.6163 MB / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000383/1.033, allocations: 47.84 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/1.034, allocations: 95.88 kB / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000765/1.035, allocations: 157.7 kB / 1.245 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.035, allocations: 48 kB / 1.245 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009874/1.036, allocations: 0.7382 MB / 1.246 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.036, allocations: 0 / 1.246 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002822/1.039, allocations: 1.004 MB / 1.247 GB, free: 3.961 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.4314/1.47, allocations: 8.985 MB / 1.256 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0136/1.484, allocations: 6.691 MB / 1.262 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.484, allocations: 3.312 kB / 1.262 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00762/1.492, allocations: 3.829 MB / 1.266 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/1.493, allocations: 243.7 kB / 1.266 GB, free: 213 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04886/1.542, allocations: 31.71 MB / 1.297 GB, free: 198.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.543, allocations: 1.851 MB / 1.299 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007728/1.544, allocations: 364.1 kB / 1.3 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005309/1.545, allocations: 0.6047 MB / 1.3 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.545, allocations: 4 kB / 1.3 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09273/1.637, allocations: 74.17 MB / 1.373 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/11.69, allocations: 8.281 kB / 1.373 GB, free: 122.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches