Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_R_N,fileNamePrefix="Buildings_9_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_9_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.007494/0.007494, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001718/0.001718, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.116/2.116, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.7004, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04398/0.7444, allocations: 37.95 MB / 1.125 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01914/0.7636, allocations: 11 MB / 1.135 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006029/0.7697, allocations: 153.8 kB / 1.135 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01137/0.7811, allocations: 4.354 MB / 1.14 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008122/0.7892, allocations: 2.225 MB / 1.142 GB, free: 8 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006305/0.7956, allocations: 2.164 MB / 1.144 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01472/0.8103, allocations: 9.285 MB / 1.153 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01639/0.8267, allocations: 11.27 MB / 1.164 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008105/0.8349, allocations: 3.993 MB / 1.168 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009201/0.8441, allocations: 4.512 MB / 1.172 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00413/0.8483, allocations: 0.8213 MB / 1.173 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006746/0.855, allocations: 1.588 MB / 1.175 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006393/0.8615, allocations: 3.154 MB / 1.178 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01183/0.8733, allocations: 3.652 MB / 1.181 GB, free: 12.47 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01784/0.8912, allocations: 12.31 MB / 1.193 GB, free: 1.613 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.8913, allocations: 0 / 1.193 GB, free: 1.613 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8913, allocations: 4 kB / 1.193 GB, free: 1.609 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003923/0.8917, allocations: 0 / 1.193 GB, free: 1.609 MB / 0.92 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.01538/0.9071, allocations: 6.322 MB / 1.2 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.9071, allocations: 8.031 kB / 1.2 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001612/0.9087, allocations: 0.8216 MB / 1.2 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/0.9139, allocations: 1.075 MB / 1.201 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008804/0.9227, allocations: 3.606 MB / 1.205 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/0.9232, allocations: 423.7 kB / 1.205 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/0.9251, allocations: 0.5432 MB / 1.206 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/0.9442, allocations: 9.381 MB / 1.215 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002139/0.9444, allocations: 19.81 kB / 1.215 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001437/0.9459, allocations: 244 kB / 1.215 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000637/0.9465, allocations: 418.9 kB / 1.216 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.96, allocations: 7.131 MB / 1.223 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0436/1.004, allocations: 41.01 MB / 1.263 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004536/1.008, allocations: 3.096 MB / 1.266 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002808/1.011, allocations: 2.16 MB / 1.268 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/1.011, allocations: 22 kB / 1.268 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/1.011, allocations: 60.56 kB / 1.268 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 3.807e-06/1.011, allocations: 0 / 1.268 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02273/1.034, allocations: 10.56 MB / 1.278 GB, free: 6.391 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/1.034, allocations: 73.41 kB / 1.278 GB, free: 6.309 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/1.037, allocations: 2.005 MB / 1.28 GB, free: 4.285 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/1.037, allocations: 65.69 kB / 1.28 GB, free: 4.215 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/1.038, allocations: 2.4 MB / 1.283 GB, free: 1.781 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005382/1.039, allocations: 0.7318 MB / 1.283 GB, free: 1.039 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006909/1.039, allocations: 477.2 kB / 1.284 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/1.039, allocations: 305.1 kB / 1.284 GB, free: 272 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/1.041, allocations: 1.372 MB / 1.285 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/1.044, allocations: 2.112 MB / 1.288 GB, free: 12.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/1.048, allocations: 3.762 MB / 1.291 GB, free: 8.383 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/1.048, allocations: 4 kB / 1.291 GB, free: 8.379 MB / 1.029 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007512/1.055, allocations: 5.076 MB / 1.296 GB, free: 3.277 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.056, allocations: 20.22 kB / 1.296 GB, free: 3.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/1.056, allocations: 23.98 kB / 1.296 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/1.059, allocations: 1.582 MB / 1.298 GB, free: 1.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.061, allocations: 451.2 kB / 1.298 GB, free: 1.203 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/1.081, allocations: 18.58 MB / 1.316 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/1.083, allocations: 143.9 kB / 1.316 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/1.083, allocations: 104 kB / 1.317 GB, free: 13.82 MB / 1.061 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.003018/1.086, allocations: 1.949 MB / 1.318 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005686/1.087, allocations: 288.7 kB / 1.319 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006954/1.094, allocations: 4.451 MB / 1.323 GB, free: 7.094 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/1.094, allocations: 20 kB / 1.323 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.351e-05/1.094, allocations: 16 kB / 1.323 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/1.094, allocations: 11.95 kB / 1.323 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/1.108, allocations: 9.676 MB / 1.333 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.108, allocations: 4 kB / 1.333 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/1.109, allocations: 231.6 kB / 1.333 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002921/1.112, allocations: 1.43 MB / 1.334 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/1.112, allocations: 43.94 kB / 1.334 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/1.131, allocations: 18.56 MB / 1.352 GB, free: 8.391 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/1.131, allocations: 7.938 kB / 1.352 GB, free: 8.383 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006272/1.137, allocations: 4.541 MB / 1.357 GB, free: 3.758 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.139, allocations: 0.6306 MB / 1.357 GB, free: 3.105 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/1.139, allocations: 40 kB / 1.357 GB, free: 3.066 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.14, allocations: 123.8 kB / 1.358 GB, free: 2.945 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/1.141, allocations: 181.4 kB / 1.358 GB, free: 2.766 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.141, allocations: 56 kB / 1.358 GB, free: 2.711 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001525/1.142, allocations: 1.319 MB / 1.359 GB, free: 1.383 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.21e-07/1.142, allocations: 0 / 1.359 GB, free: 1.383 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002675/1.145, allocations: 1.137 MB / 1.36 GB, free: 252 kB / 1.092 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.006202/1.151, allocations: 5.16 MB / 1.365 GB, free: 10.99 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006317/1.158, allocations: 4.724 MB / 1.37 GB, free: 6.215 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.158, allocations: 4 kB / 1.37 GB, free: 6.211 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003935/1.162, allocations: 2.917 MB / 1.373 GB, free: 3.242 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/1.165, allocations: 0.8939 MB / 1.374 GB, free: 2.371 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03942/1.204, allocations: 30.37 MB / 1.403 GB, free: 2.801 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003445/1.208, allocations: 3.69 MB / 1.407 GB, free: 15.08 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001535/1.209, allocations: 0.5595 MB / 1.407 GB, free: 14.51 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/1.211, allocations: 1.948 MB / 1.409 GB, free: 12.56 MB / 1.154 GB Notification: Performance of SimCode: time 7.01e-07/1.211, allocations: 0 / 1.409 GB, free: 12.56 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.402/7.613, allocations: 85.26 MB / 1.493 GB, free: 8.254 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.2/24.81, allocations: 2.656 kB / 1.493 GB, free: 8.254 MB / 1.232 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches