Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001271/0.001271, 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.001252/0.001252, allocations: 193.7 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.3 MB / 0.6647 GB, free: 292 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.89 kB / 0.8127 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5417/0.5439, allocations: 140.4 MB / 0.9497 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01437/0.5583, allocations: 14.04 MB / 0.9634 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01681/0.5752, allocations: 9.402 MB / 0.9726 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.5778, allocations: 54.53 kB / 0.9727 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004819/0.5826, allocations: 1.665 MB / 0.9743 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.5875, allocations: 1.553 MB / 0.9758 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.5897, allocations: 0.7507 MB / 0.9766 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003678/0.5934, allocations: 2.514 MB / 0.979 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.5957, allocations: 1.412 MB / 0.9804 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.5976, allocations: 1.045 MB / 0.9814 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.5998, allocations: 1.146 MB / 0.9825 GB, free: 120 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007715/0.6006, allocations: 168 kB / 0.9827 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/0.6038, allocations: 0.7876 MB / 0.9835 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.6051, allocations: 0.6193 MB / 0.9841 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.6075, allocations: 0.9368 MB / 0.985 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004732/0.6122, allocations: 2.73 MB / 0.9876 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.6123, allocations: 0 / 0.9876 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6123, allocations: 4 kB / 0.9876 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001055/0.6124, allocations: 0 / 0.9876 GB, free: 10.86 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005766/0.6182, allocations: 2.139 MB / 0.9897 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6182, allocations: 12.03 kB / 0.9897 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004588/0.6187, allocations: 194.3 kB / 0.9899 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.6306, allocations: 2.093 MB / 0.992 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.6336, allocations: 1.193 MB / 0.9931 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.742e-05/0.6337, allocations: 86.73 kB / 0.9932 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005427/0.6343, allocations: 119.9 kB / 0.9933 GB, free: 4.902 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006638/0.6409, allocations: 2.682 MB / 0.996 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-05/0.641, allocations: 7.844 kB / 0.996 GB, free: 2.062 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.6413, allocations: 55.98 kB / 0.996 GB, free: 2.008 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007004/0.642, allocations: 182.1 kB / 0.9962 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008131/0.6501, allocations: 2.799 MB / 0.9989 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.6667, allocations: 10.52 MB / 1.009 GB, free: 3.918 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007186/0.6739, allocations: 2.525 MB / 1.012 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/0.6773, allocations: 1.276 MB / 1.013 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.191e-05/0.6774, allocations: 13 kB / 1.013 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.6775, allocations: 43.56 kB / 1.013 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 2.695e-06/0.6775, allocations: 4 kB / 1.013 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=131): time 0.0489/0.7264, allocations: 13.34 MB / 1.026 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.7264, allocations: 64.72 kB / 1.026 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.7281, allocations: 1.117 MB / 1.027 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.7283, allocations: 53.7 kB / 1.027 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004989/0.7288, allocations: 0.7116 MB / 1.028 GB, free: 444 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004826/0.7293, allocations: 457.5 kB / 1.028 GB, free: 15.98 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005448/0.7299, allocations: 271.3 kB / 1.029 GB, free: 15.71 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.73, allocations: 357.9 kB / 1.029 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003551/0.7336, allocations: 1.339 MB / 1.03 GB, free: 14.02 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003582/0.7372, allocations: 1.6 MB / 1.032 GB, free: 12.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007291/0.7445, allocations: 2.994 MB / 1.035 GB, free: 9.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.7445, allocations: 0 / 1.035 GB, free: 9.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01182/0.7564, allocations: 4.439 MB / 1.039 GB, free: 4.738 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.7564, allocations: 8.125 kB / 1.039 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.7564, allocations: 12 kB / 1.039 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005298/0.7617, allocations: 1.443 MB / 1.04 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.7639, allocations: 435.2 kB / 1.041 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02796/0.7919, allocations: 26.69 MB / 1.067 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/0.7946, allocations: 307.5 kB / 1.067 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/0.7949, allocations: 63.95 kB / 1.067 GB, free: 5.914 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00108/0.796, allocations: 433.5 kB / 1.068 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005281/0.7965, allocations: 162.2 kB / 1.068 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/0.8109, allocations: 4.457 MB / 1.072 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.8109, allocations: 12 kB / 1.072 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.85e-05/0.811, allocations: 12 kB / 1.072 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.811, allocations: 7.969 kB / 1.072 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.8261, allocations: 6.789 MB / 1.079 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.8262, allocations: 4 kB / 1.079 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.8279, allocations: 379.3 kB / 1.079 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004443/0.8324, allocations: 1.323 MB / 1.081 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.8325, allocations: 39.97 kB / 1.081 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02703/0.8596, allocations: 25.51 MB / 1.106 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.8596, allocations: 8.156 kB / 1.106 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/0.871, allocations: 4.2 MB / 1.11 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.8723, allocations: 455 kB / 1.11 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004596/0.8728, allocations: 31.98 kB / 1.11 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/0.8752, allocations: 299.5 kB / 1.11 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004938/0.8757, allocations: 132.7 kB / 1.11 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/0.8759, allocations: 48.62 kB / 1.111 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001221/0.8771, allocations: 0.7526 MB / 1.111 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8771, allocations: 0 / 1.111 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002312/0.8795, allocations: 0.5664 MB / 1.112 GB, free: 6.109 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01105/0.8905, allocations: 4.8 MB / 1.117 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01221/0.9028, allocations: 5.517 MB / 1.122 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/0.9028, allocations: 0 / 1.122 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007411/0.9102, allocations: 3.491 MB / 1.125 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.9135, allocations: 0.5482 MB / 1.126 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04757/0.9611, allocations: 20.33 MB / 1.146 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.9625, allocations: 1.47 MB / 1.147 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001846/0.9644, allocations: 433.6 kB / 1.148 GB, free: 368 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009433/0.9654, allocations: 0.6242 MB / 1.148 GB, free: 15.73 MB / 0.92 GB Notification: Performance of SimCode: time 7.72e-07/0.9654, allocations: 0 / 1.148 GB, free: 15.73 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/1.08, allocations: 51.29 MB / 1.198 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.82, allocations: 5.812 kB / 1.198 GB, free: 13.06 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches