Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.007732/0.007732, allocations: 100.9 kB / 15.73 MB, free: 6 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.001857/0.001857, allocations: 189.5 kB / 16.67 MB, free: 5.934 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.42/1.42, 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 11.1.0-maint.11.x/package.mo): time 2.772/2.772, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 67.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3173, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.6575/0.9749, allocations: 37.95 MB / 1.257 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.9915, allocations: 10.99 MB / 1.268 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003744/0.9953, allocations: 156.4 kB / 1.268 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01022/1.006, allocations: 4.361 MB / 1.272 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006996/1.013, allocations: 2.212 MB / 1.275 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005742/1.018, allocations: 2.178 MB / 1.277 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01242/1.031, allocations: 9.281 MB / 1.286 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0141/1.045, allocations: 11.28 MB / 1.297 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008546/1.053, allocations: 3.997 MB / 1.301 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009221/1.063, allocations: 4.505 MB / 1.305 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002867/1.066, allocations: 0.8221 MB / 1.306 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005959/1.072, allocations: 1.586 MB / 1.307 GB, free: 10.97 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006178/1.078, allocations: 3.148 MB / 1.31 GB, free: 9.648 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009821/1.088, allocations: 3.658 MB / 1.314 GB, free: 7.305 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0208/1.108, allocations: 12.35 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.109, allocations: 1.312 kB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.335e-06/1.109, allocations: 4 kB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003729/1.109, allocations: 0 / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01936/1.128, allocations: 6.468 MB / 1.332 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/1.128, allocations: 9.156 kB / 1.332 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002825/1.131, allocations: 0.8257 MB / 1.333 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006233/1.137, allocations: 1.106 MB / 1.334 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007941/1.145, allocations: 3.623 MB / 1.338 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003654/1.146, allocations: 427 kB / 1.338 GB, free: 9.496 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/1.147, allocations: 0.5412 MB / 1.339 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01737/1.164, allocations: 9.382 MB / 1.348 GB, free: 3.562 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/1.165, allocations: 22.95 kB / 1.348 GB, free: 3.547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006702/1.165, allocations: 252 kB / 1.348 GB, free: 3.359 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005605/1.166, allocations: 419.4 kB / 1.349 GB, free: 3.262 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/1.179, allocations: 7.125 MB / 1.356 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05225/1.232, allocations: 41.08 MB / 1.396 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004701/1.236, allocations: 3.098 MB / 1.399 GB, free: 13.44 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003038/1.239, allocations: 2.163 MB / 1.401 GB, free: 11.28 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/1.24, allocations: 18 kB / 1.401 GB, free: 11.26 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.195e-05/1.24, allocations: 64.56 kB / 1.401 GB, free: 11.19 MB / 1.092 GB Notification: Performance of pre-optimization done (n=209): time 3.286e-06/1.24, allocations: 0 / 1.401 GB, free: 11.19 MB / 1.092 GB Notification: Performance of matching and sorting (n=212): time 0.02528/1.265, allocations: 10.64 MB / 1.411 GB, free: 476 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.265, allocations: 77.41 kB / 1.411 GB, free: 384 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/1.268, allocations: 2.006 MB / 1.413 GB, free: 14.35 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/1.268, allocations: 61.7 kB / 1.413 GB, free: 14.28 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00179/1.27, allocations: 2.47 MB / 1.416 GB, free: 11.79 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007383/1.271, allocations: 0.7669 MB / 1.417 GB, free: 11.02 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008113/1.272, allocations: 485.5 kB / 1.417 GB, free: 10.54 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.272, allocations: 301.1 kB / 1.417 GB, free: 10.24 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/1.274, allocations: 1.376 MB / 1.419 GB, free: 8.859 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00271/1.276, allocations: 2.1 MB / 1.421 GB, free: 6.449 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005111/1.282, allocations: 3.766 MB / 1.424 GB, free: 2.371 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/1.282, allocations: 8 kB / 1.424 GB, free: 2.363 MB / 1.107 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00886/1.29, allocations: 5.082 MB / 1.429 GB, free: 13.26 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/1.291, allocations: 12 kB / 1.429 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/1.291, allocations: 28.16 kB / 1.429 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003708/1.294, allocations: 1.589 MB / 1.431 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/1.296, allocations: 451.2 kB / 1.431 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02423/1.32, allocations: 18.59 MB / 1.45 GB, free: 8.031 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/1.323, allocations: 147.9 kB / 1.45 GB, free: 7.887 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003233/1.323, allocations: 112 kB / 1.45 GB, free: 7.777 MB / 1.139 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00423/1.328, allocations: 1.938 MB / 1.452 GB, free: 5.828 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007935/1.328, allocations: 306.2 kB / 1.452 GB, free: 5.527 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007986/1.336, allocations: 4.455 MB / 1.456 GB, free: 1.043 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/1.336, allocations: 20 kB / 1.456 GB, free: 1.023 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.674e-05/1.336, allocations: 16 kB / 1.456 GB, free: 1.008 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/1.336, allocations: 7.969 kB / 1.456 GB, free: 1 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/1.353, allocations: 9.668 MB / 1.466 GB, free: 7.184 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/1.354, allocations: 4 kB / 1.466 GB, free: 7.18 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.355, allocations: 235.6 kB / 1.466 GB, free: 6.949 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003586/1.358, allocations: 1.433 MB / 1.467 GB, free: 5.508 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/1.358, allocations: 36 kB / 1.467 GB, free: 5.473 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02423/1.383, allocations: 18.58 MB / 1.486 GB, free: 2.332 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.383, allocations: 4 kB / 1.486 GB, free: 2.328 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007822/1.391, allocations: 4.561 MB / 1.49 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/1.393, allocations: 0.6552 MB / 1.491 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/1.393, allocations: 40 kB / 1.491 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.394, allocations: 119.8 kB / 1.491 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005744/1.395, allocations: 181.6 kB / 1.491 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.395, allocations: 60 kB / 1.491 GB, free: 12.61 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002038/1.397, allocations: 1.319 MB / 1.492 GB, free: 11.28 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.397, allocations: 0 / 1.492 GB, free: 11.28 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003711/1.401, allocations: 1.141 MB / 1.493 GB, free: 10.14 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007625/1.409, allocations: 5.165 MB / 1.499 GB, free: 4.875 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008185/1.417, allocations: 4.75 MB / 1.503 GB, free: 92 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.417, allocations: 1 kB / 1.503 GB, free: 92 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005217/1.422, allocations: 2.925 MB / 1.506 GB, free: 13.11 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004555/1.427, allocations: 0.8866 MB / 1.507 GB, free: 12.24 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05186/1.478, allocations: 30.54 MB / 1.537 GB, free: 12.48 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004833/1.483, allocations: 3.694 MB / 1.54 GB, free: 8.75 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002005/1.485, allocations: 0.5518 MB / 1.541 GB, free: 8.191 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002324/1.488, allocations: 1.944 MB / 1.543 GB, free: 6.246 MB / 1.232 GB Notification: Performance of SimCode: time 1.072e-06/1.488, allocations: 0 / 1.543 GB, free: 6.246 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1605/1.648, allocations: 85.28 MB / 1.626 GB, free: 1.918 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/16.35, allocations: 6.234 kB / 1.626 GB, free: 1.914 MB / 1.311 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches