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.001682/0.001683, 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.001547/0.001547, allocations: 193.8 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.344/2.344, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5746, allocations: 140.4 MB / 0.9497 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01412/0.5888, allocations: 14.04 MB / 0.9634 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.014/0.6028, allocations: 9.395 MB / 0.9726 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.6042, allocations: 54.84 kB / 0.9727 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004207/0.6084, allocations: 1.682 MB / 0.9743 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004016/0.6124, allocations: 1.545 MB / 0.9758 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.6143, allocations: 0.7507 MB / 0.9766 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003228/0.6175, allocations: 2.511 MB / 0.979 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.6196, allocations: 1.409 MB / 0.9804 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.6212, allocations: 1.046 MB / 0.9814 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.6232, allocations: 1.152 MB / 0.9825 GB, free: 280 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004373/0.6236, allocations: 164 kB / 0.9827 GB, free: 116 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.6254, allocations: 0.7877 MB / 0.9835 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000718/0.6261, allocations: 0.6154 MB / 0.9841 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.6275, allocations: 0.9368 MB / 0.985 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.6304, allocations: 2.734 MB / 0.9876 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6304, allocations: 0 / 0.9876 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6304, allocations: 0 / 0.9876 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.227e-05/0.6305, allocations: 4 kB / 0.9876 GB, free: 11.02 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.004286/0.6348, allocations: 2.135 MB / 0.9897 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.6348, allocations: 12.03 kB / 0.9897 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002929/0.6351, allocations: 198.3 kB / 0.9899 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.6468, allocations: 2.081 MB / 0.992 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.6491, allocations: 1.193 MB / 0.9931 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.6491, allocations: 94.73 kB / 0.9932 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.6494, allocations: 123.9 kB / 0.9933 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005579/0.655, allocations: 2.678 MB / 0.9959 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.6551, allocations: 11.84 kB / 0.996 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.6552, allocations: 59.97 kB / 0.996 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007048/0.656, allocations: 182.1 kB / 0.9962 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007766/0.6637, allocations: 2.795 MB / 0.9989 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01486/0.6786, allocations: 10.52 MB / 1.009 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007131/0.6858, allocations: 2.521 MB / 1.012 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.6891, allocations: 1.284 MB / 1.013 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.225e-05/0.6892, allocations: 12.98 kB / 1.013 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.6892, allocations: 43.56 kB / 1.013 GB, free: 136 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=89): time 2.785e-06/0.6893, allocations: 0 / 1.013 GB, free: 136 kB / 0.7637 GB Notification: Performance of matching and sorting (n=131): time 0.04804/0.7373, allocations: 13.34 MB / 1.026 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.7374, allocations: 72.72 kB / 1.026 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.7391, allocations: 1.113 MB / 1.027 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.7393, allocations: 45.7 kB / 1.027 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005664/0.7398, allocations: 0.7193 MB / 1.028 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000491/0.7403, allocations: 449.5 kB / 1.028 GB, free: 144 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005664/0.7409, allocations: 267.3 kB / 1.029 GB, free: 15.88 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.7411, allocations: 365.9 kB / 1.029 GB, free: 15.51 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003333/0.7444, allocations: 1.339 MB / 1.03 GB, free: 14.17 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00349/0.7479, allocations: 1.596 MB / 1.032 GB, free: 12.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007081/0.755, allocations: 2.994 MB / 1.035 GB, free: 9.391 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.7551, allocations: 4 kB / 1.035 GB, free: 9.387 MB / 0.795 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01173/0.7668, allocations: 4.442 MB / 1.039 GB, free: 4.891 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.7669, allocations: 8 kB / 1.039 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/0.7669, allocations: 11.94 kB / 1.039 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005291/0.7722, allocations: 1.436 MB / 1.04 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.7743, allocations: 443.2 kB / 1.041 GB, free: 2.961 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02634/0.8007, allocations: 26.69 MB / 1.067 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.8033, allocations: 307.5 kB / 1.067 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.8035, allocations: 59.97 kB / 1.067 GB, free: 6.074 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.0008364/0.8044, allocations: 441.7 kB / 1.068 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/0.8047, allocations: 158.2 kB / 1.068 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.8167, allocations: 4.457 MB / 1.072 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.8167, allocations: 12 kB / 1.072 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.213e-05/0.8168, allocations: 12 kB / 1.072 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.8168, allocations: 7.969 kB / 1.072 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.832, allocations: 6.793 MB / 1.079 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.832, allocations: 4.344 kB / 1.079 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.8339, allocations: 379.3 kB / 1.079 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004774/0.8387, allocations: 1.31 MB / 1.081 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.8389, allocations: 43.95 kB / 1.081 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02973/0.8686, allocations: 25.53 MB / 1.106 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.8686, allocations: 0 / 1.106 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0184/0.887, allocations: 4.2 MB / 1.11 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.8885, allocations: 459 kB / 1.11 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005214/0.889, allocations: 24 kB / 1.11 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003725/0.8928, allocations: 315.5 kB / 1.11 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000668/0.8934, allocations: 116.7 kB / 1.11 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/0.8937, allocations: 55.95 kB / 1.111 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001733/0.8954, allocations: 0.7487 MB / 1.111 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8955, allocations: 4 kB / 1.111 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003165/0.8986, allocations: 0.5664 MB / 1.112 GB, free: 6.262 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.01826/0.9169, allocations: 4.793 MB / 1.117 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01471/0.9317, allocations: 5.517 MB / 1.122 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.9317, allocations: 0 / 1.122 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.006751/0.9384, allocations: 3.484 MB / 1.125 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.9409, allocations: 0.5574 MB / 1.126 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04102/0.9819, allocations: 20.32 MB / 1.146 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.9833, allocations: 1.481 MB / 1.147 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001794/0.9851, allocations: 417.6 kB / 1.148 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009536/0.986, allocations: 0.632 MB / 1.148 GB, free: 15.9 MB / 0.92 GB Notification: Performance of SimCode: time 1.132e-06/0.9861, allocations: 0 / 1.148 GB, free: 15.9 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/1.089, allocations: 51.29 MB / 1.198 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/11.23, allocations: 5.781 kB / 1.198 GB, free: 13.23 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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