Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_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_latest_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.001366/0.001366, allocations: 108 kB / 15.61 MB, free: 152 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.00145/0.00145, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.368/1.368, 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 11.0.1-master/package.mo): time 2.714/2.714, allocations: 469.4 MB / 0.742 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 61.3 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2848, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01329/0.2981, allocations: 10.09 MB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00556/0.3037, allocations: 3.178 MB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007408/0.3045, allocations: 35.81 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.3062, allocations: 0.6024 MB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.3078, allocations: 0.731 MB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.3093, allocations: 0.7475 MB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003128/0.3125, allocations: 2.992 MB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004378/0.3169, allocations: 2.602 MB / 1.084 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.3192, allocations: 1.246 MB / 1.085 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/0.3223, allocations: 1.562 MB / 1.087 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007675/0.3231, allocations: 236 kB / 1.087 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.3248, allocations: 0.4994 MB / 1.088 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001776/0.3266, allocations: 1.068 MB / 1.089 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002248/0.3289, allocations: 1.12 MB / 1.09 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005154/0.3341, allocations: 3.661 MB / 1.093 GB, free: 12 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3341, allocations: 0 / 1.093 GB, free: 12 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.235e-06/0.3341, allocations: 0 / 1.093 GB, free: 12 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001436/0.3343, allocations: 0 / 1.093 GB, free: 12 kB / 0.8419 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.007781/0.3421, allocations: 2.146 MB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.3422, allocations: 12.03 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008749/0.3431, allocations: 261.2 kB / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.3577, allocations: 1.313 MB / 1.097 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.3611, allocations: 1.251 MB / 1.098 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.3613, allocations: 123.4 kB / 1.098 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006766/0.362, allocations: 144.3 kB / 1.098 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008688/0.3707, allocations: 3.44 MB / 1.102 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.089e-05/0.3708, allocations: 4 kB / 1.102 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003995/0.3712, allocations: 67.97 kB / 1.102 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003874/0.3716, allocations: 203.1 kB / 1.102 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008241/0.3798, allocations: 3.127 MB / 1.105 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02142/0.4013, allocations: 13.62 MB / 1.118 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.4039, allocations: 1.732 MB / 1.12 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/0.4058, allocations: 1.436 MB / 1.122 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.466e-05/0.406, allocations: 9 kB / 1.122 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.406, allocations: 51.5 kB / 1.122 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 2.786e-06/0.406, allocations: 0 / 1.122 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.1542/0.5602, allocations: 36.67 MB / 1.157 GB, free: 13.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.5603, allocations: 69.41 kB / 1.157 GB, free: 13.08 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.5618, allocations: 1.053 MB / 1.158 GB, free: 12 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002634/0.5621, allocations: 57.7 kB / 1.159 GB, free: 11.94 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/0.5626, allocations: 0.7796 MB / 1.159 GB, free: 11.15 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006467/0.5632, allocations: 0.6277 MB / 1.16 GB, free: 10.51 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008349/0.5641, allocations: 363.4 kB / 1.16 GB, free: 10.15 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.5642, allocations: 301.1 kB / 1.161 GB, free: 9.852 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/0.5669, allocations: 1.932 MB / 1.162 GB, free: 7.918 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00298/0.5699, allocations: 2.285 MB / 1.165 GB, free: 5.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005768/0.5757, allocations: 4.398 MB / 1.169 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.5757, allocations: 4 kB / 1.169 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0212/0.5969, allocations: 9.017 MB / 1.178 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.597, allocations: 11.94 kB / 1.178 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.597, allocations: 12 kB / 1.178 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01731/0.6143, allocations: 5.002 MB / 1.183 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/0.6153, allocations: 199.6 kB / 1.183 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05831/0.6736, allocations: 38.94 MB / 1.221 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.6759, allocations: 99.89 kB / 1.221 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003558/0.6762, allocations: 64 kB / 1.221 GB, free: 11.03 MB / 0.9825 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.001525/0.6778, allocations: 0.8096 MB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/0.6782, allocations: 134.4 kB / 1.222 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02041/0.6986, allocations: 8.897 MB / 1.231 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.6987, allocations: 19.98 kB / 1.231 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.909e-05/0.6988, allocations: 31.94 kB / 1.231 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-05/0.6988, allocations: 7.969 kB / 1.231 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02844/0.7273, allocations: 13.3 MB / 1.244 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/0.7273, allocations: 4 kB / 1.244 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.7278, allocations: 119.8 kB / 1.244 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4974/1.225, allocations: 4.781 MB / 1.248 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00035/1.226, allocations: 37.89 kB / 1.249 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05087/1.277, allocations: 34.86 MB / 1.283 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.277, allocations: 12.66 kB / 1.283 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01902/1.296, allocations: 8.397 MB / 1.291 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/1.297, allocations: 0.6187 MB / 1.291 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/1.297, allocations: 41.78 kB / 1.291 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.299, allocations: 90.77 kB / 1.292 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008969/1.299, allocations: 162.8 kB / 1.292 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.3, allocations: 46.34 kB / 1.292 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000872/1.3, allocations: 0.7385 MB / 1.292 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.3, allocations: 1.281 kB / 1.292 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00278/1.303, allocations: 1.004 MB / 1.293 GB, free: 155.5 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.01752/1.321, allocations: 8.992 MB / 1.302 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009628/1.33, allocations: 6.682 MB / 1.309 GB, free: 149.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.33, allocations: 4 kB / 1.309 GB, free: 149.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00713/1.338, allocations: 3.83 MB / 1.312 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/1.339, allocations: 241.6 kB / 1.313 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06331/1.403, allocations: 31.7 MB / 1.344 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.404, allocations: 1.858 MB / 1.345 GB, free: 110.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007764/1.405, allocations: 355.9 kB / 1.346 GB, free: 110.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005318/1.405, allocations: 0.6086 MB / 1.346 GB, free: 109.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.405, allocations: 0 / 1.346 GB, free: 109.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/1.506, allocations: 74.19 MB / 1.419 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/11.62, allocations: 7.953 kB / 1.419 GB, free: 35.94 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches