Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001575/0.001575, 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.001904/0.001904, allocations: 193 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.317/2.317, allocations: 390.3 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6629/0.6643, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02755/0.6919, allocations: 26.66 MB / 0.9758 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.7081, allocations: 8.08 MB / 0.9837 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/0.7119, allocations: 115.8 kB / 0.9838 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.007136/0.7191, allocations: 2.761 MB / 0.9865 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004662/0.7238, allocations: 1.587 MB / 0.988 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00419/0.728, allocations: 1.672 MB / 0.9896 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006958/0.7349, allocations: 6.135 MB / 0.9956 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009277/0.7442, allocations: 7.419 MB / 1.003 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004743/0.749, allocations: 2.567 MB / 1.005 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004798/0.7538, allocations: 2.835 MB / 1.008 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.7555, allocations: 0.5078 MB / 1.009 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.7595, allocations: 1.279 MB / 1.01 GB, free: 3.988 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003052/0.7625, allocations: 2.058 MB / 1.012 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.006601/0.7692, allocations: 2.377 MB / 1.014 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.7802, allocations: 8.004 MB / 1.022 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.7802, allocations: 0 / 1.022 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7803, allocations: 0 / 1.022 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003269/0.7806, allocations: 0 / 1.022 GB, free: 7.512 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01089/0.7915, allocations: 4.228 MB / 1.026 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.7916, allocations: 8.031 kB / 1.026 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008057/0.7924, allocations: 0.5382 MB / 1.027 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004136/0.7965, allocations: 0.8039 MB / 1.027 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.8004, allocations: 2.421 MB / 1.03 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.8006, allocations: 271.6 kB / 1.03 GB, free: 15.11 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006229/0.8012, allocations: 376.4 kB / 1.03 GB, free: 14.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008443/0.8097, allocations: 5.996 MB / 1.036 GB, free: 8.496 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.148e-05/0.8098, allocations: 27.77 kB / 1.036 GB, free: 8.469 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003568/0.8101, allocations: 156 kB / 1.037 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005832/0.8107, allocations: 278.9 kB / 1.037 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006607/0.8173, allocations: 4.528 MB / 1.041 GB, free: 3.508 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02433/0.8417, allocations: 27.65 MB / 1.068 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.8432, allocations: 1.12 MB / 1.069 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.8445, allocations: 1.019 MB / 1.07 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.756e-05/0.8446, allocations: 17 kB / 1.07 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.8446, allocations: 51.55 kB / 1.07 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 4.108e-06/0.8446, allocations: 0 / 1.07 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=131): time 0.02176/0.8664, allocations: 9.668 MB / 1.08 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.8665, allocations: 64.72 kB / 1.08 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.8683, allocations: 1.494 MB / 1.081 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.8685, allocations: 49.7 kB / 1.081 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.8695, allocations: 1.663 MB / 1.083 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004131/0.8699, allocations: 481.2 kB / 1.083 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/0.8705, allocations: 323.2 kB / 1.084 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.8706, allocations: 309.1 kB / 1.084 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.8719, allocations: 0.9174 MB / 1.085 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.8735, allocations: 1.463 MB / 1.086 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/0.8766, allocations: 2.546 MB / 1.089 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.8766, allocations: 4 kB / 1.089 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005646/0.8823, allocations: 3.286 MB / 1.092 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.8823, allocations: 20.03 kB / 1.092 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.8824, allocations: 16 kB / 1.092 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/0.8846, allocations: 0.7335 MB / 1.093 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.8862, allocations: 391.3 kB / 1.093 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/0.9021, allocations: 17.04 MB / 1.11 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.9038, allocations: 103.8 kB / 1.11 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.9041, allocations: 79.94 kB / 1.11 GB, free: 8.41 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002306/0.9065, allocations: 1.31 MB / 1.111 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/0.9069, allocations: 197.7 kB / 1.111 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005303/0.9123, allocations: 2.788 MB / 1.114 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.9123, allocations: 12 kB / 1.114 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/0.9123, allocations: 12 kB / 1.114 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.9123, allocations: 7.969 kB / 1.114 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.9231, allocations: 6.22 MB / 1.12 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.9232, allocations: 4 kB / 1.12 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.9243, allocations: 223.7 kB / 1.121 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.9264, allocations: 0.6795 MB / 1.121 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/0.9265, allocations: 36.05 kB / 1.121 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/0.9416, allocations: 16.8 MB / 1.138 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.9416, allocations: 7.938 kB / 1.138 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006495/0.9481, allocations: 4.004 MB / 1.142 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.9492, allocations: 450.6 kB / 1.142 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005454/0.9498, allocations: 35.94 kB / 1.142 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.951, allocations: 87.83 kB / 1.142 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/0.9514, allocations: 116.7 kB / 1.142 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.981e-05/0.9515, allocations: 36 kB / 1.142 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001499/0.953, allocations: 0.9981 MB / 1.143 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.953, allocations: 0 / 1.143 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00242/0.9554, allocations: 0.6836 MB / 1.144 GB, free: 4.09 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006322/0.9617, allocations: 4.603 MB / 1.148 GB, free: 15.37 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006509/0.9683, allocations: 4.104 MB / 1.152 GB, free: 11.14 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.9683, allocations: 0 / 1.152 GB, free: 11.14 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.9714, allocations: 2.296 MB / 1.155 GB, free: 8.73 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.9746, allocations: 0.6725 MB / 1.155 GB, free: 8.078 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03422/1.009, allocations: 22.74 MB / 1.177 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003585/1.012, allocations: 2.668 MB / 1.18 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001609/1.014, allocations: 485.3 kB / 1.181 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.016, allocations: 1.284 MB / 1.182 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/1.016, allocations: 4 kB / 1.182 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/1.127, allocations: 56.26 MB / 1.237 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.49, allocations: 17.44 kB / 1.237 GB, free: 3.711 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches