Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.008612/0.008612, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001841/0.001841, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 63.84 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8249/0.8265, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02185/0.8484, allocations: 20.26 MB / 1.186 GB, free: 15.47 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.8594, allocations: 6.449 MB / 1.192 GB, free: 9.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.8614, allocations: 87.56 kB / 1.192 GB, free: 8.918 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005945/0.8674, allocations: 2.237 MB / 1.195 GB, free: 6.676 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003667/0.8711, allocations: 1.248 MB / 1.196 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.8744, allocations: 1.281 MB / 1.197 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005639/0.8801, allocations: 4.862 MB / 1.202 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00702/0.8871, allocations: 5.587 MB / 1.207 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003115/0.8903, allocations: 2.123 MB / 1.209 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/0.8937, allocations: 2.34 MB / 1.212 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.8948, allocations: 428 kB / 1.212 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.8973, allocations: 1.003 MB / 1.213 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002247/0.8995, allocations: 1.668 MB / 1.215 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00329/0.9028, allocations: 1.914 MB / 1.216 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007573/0.9104, allocations: 6.517 MB / 1.223 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.9105, allocations: 0 / 1.223 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9105, allocations: 0 / 1.223 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001929/0.9107, allocations: 0 / 1.223 GB, free: 9.582 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008432/0.9191, allocations: 3.452 MB / 1.226 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.9192, allocations: 8.922 kB / 1.226 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00107/0.9202, allocations: 454.6 kB / 1.227 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003682/0.9239, allocations: 0.6449 MB / 1.227 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003933/0.9279, allocations: 2.037 MB / 1.229 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.9281, allocations: 222.3 kB / 1.229 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008717/0.929, allocations: 308 kB / 1.23 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.9391, allocations: 4.879 MB / 1.234 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.9392, allocations: 11.84 kB / 1.235 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000846/0.9401, allocations: 135.9 kB / 1.235 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000529/0.9407, allocations: 233.7 kB / 1.235 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008493/0.9492, allocations: 3.75 MB / 1.239 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02627/0.9755, allocations: 21.4 MB / 1.259 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.9775, allocations: 1.306 MB / 1.261 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.979, allocations: 1.053 MB / 1.262 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.679e-05/0.9791, allocations: 13 kB / 1.262 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.9792, allocations: 55.47 kB / 1.262 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=107): time 3.156e-06/0.9792, allocations: 0 / 1.262 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.02398/1.003, allocations: 8.672 MB / 1.27 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.003, allocations: 68.72 kB / 1.27 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/1.005, allocations: 1.13 MB / 1.271 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/1.005, allocations: 45.7 kB / 1.271 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009128/1.006, allocations: 1.304 MB / 1.273 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004462/1.007, allocations: 477.1 kB / 1.273 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005555/1.007, allocations: 291.3 kB / 1.273 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.007, allocations: 305.1 kB / 1.274 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.009, allocations: 0.9174 MB / 1.275 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/1.01, allocations: 1.322 MB / 1.276 GB, free: 488 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00301/1.013, allocations: 2.43 MB / 1.278 GB, free: 13.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/1.013, allocations: 4 kB / 1.278 GB, free: 13.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006023/1.019, allocations: 3.464 MB / 1.282 GB, free: 10.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/1.019, allocations: 10.34 kB / 1.282 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/1.019, allocations: 12 kB / 1.282 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003366/1.023, allocations: 1.177 MB / 1.283 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.024, allocations: 267.5 kB / 1.283 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/1.042, allocations: 13.84 MB / 1.297 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.043, allocations: 87.97 kB / 1.297 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/1.044, allocations: 64 kB / 1.297 GB, free: 10.52 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002196/1.046, allocations: 1.114 MB / 1.298 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/1.046, allocations: 166.1 kB / 1.298 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005887/1.052, allocations: 3.165 MB / 1.301 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/1.052, allocations: 15.98 kB / 1.301 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-05/1.052, allocations: 15.94 kB / 1.301 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/1.052, allocations: 8.297 kB / 1.301 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/1.063, allocations: 6.245 MB / 1.307 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.063, allocations: 8 kB / 1.307 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/1.064, allocations: 151.7 kB / 1.307 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/1.067, allocations: 1.07 MB / 1.308 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.067, allocations: 24 kB / 1.308 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/1.083, allocations: 13.53 MB / 1.322 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/1.083, allocations: 11.94 kB / 1.322 GB, free: 416 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005644/1.089, allocations: 3.154 MB / 1.325 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009393/1.09, allocations: 431 kB / 1.325 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/1.09, allocations: 28 kB / 1.325 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/1.091, allocations: 87.89 kB / 1.325 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003706/1.092, allocations: 124.7 kB / 1.325 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.092, allocations: 40 kB / 1.325 GB, free: 12.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001178/1.093, allocations: 0.7671 MB / 1.326 GB, free: 11.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.1e-07/1.093, allocations: 3.938 kB / 1.326 GB, free: 11.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00222/1.095, allocations: 0.6562 MB / 1.327 GB, free: 11.02 MB / 1.061 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005715/1.101, allocations: 3.736 MB / 1.331 GB, free: 7.191 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005387/1.106, allocations: 3.142 MB / 1.334 GB, free: 4.008 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.106, allocations: 0 / 1.334 GB, free: 4.008 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003149/1.11, allocations: 1.959 MB / 1.335 GB, free: 2.008 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.112, allocations: 0.4958 MB / 1.336 GB, free: 1.527 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03123/1.143, allocations: 19.1 MB / 1.355 GB, free: 13.84 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004428/1.148, allocations: 2.336 MB / 1.357 GB, free: 11.47 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001498/1.149, allocations: 354.1 kB / 1.357 GB, free: 11.12 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/1.151, allocations: 1.012 MB / 1.358 GB, free: 10.11 MB / 1.092 GB Notification: Performance of SimCode: time 1.102e-06/1.151, allocations: 0 / 1.358 GB, free: 10.11 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09554/1.246, allocations: 52.29 MB / 1.409 GB, free: 6.41 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.46, allocations: 7.609 kB / 1.409 GB, free: 6.402 MB / 1.139 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches