Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007823/0.007823, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001823/0.001823, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.581/2.581, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001471, allocations: 63.91 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.312, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03888/0.3509, allocations: 37.95 MB / 1.244 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6427/0.9937, allocations: 10.98 MB / 1.255 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003539/0.9973, allocations: 157.6 kB / 1.255 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009897/1.007, allocations: 4.351 MB / 1.259 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00663/1.014, allocations: 2.217 MB / 1.262 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006066/1.02, allocations: 2.17 MB / 1.264 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01307/1.033, allocations: 9.282 MB / 1.273 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02016/1.053, allocations: 11.28 MB / 1.284 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007923/1.061, allocations: 4.043 MB / 1.288 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008629/1.07, allocations: 4.515 MB / 1.292 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003338/1.073, allocations: 0.8228 MB / 1.293 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00632/1.08, allocations: 1.59 MB / 1.295 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006844/1.086, allocations: 3.147 MB / 1.298 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01081/1.097, allocations: 3.651 MB / 1.301 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02102/1.118, allocations: 12.32 MB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.118, allocations: 1.25 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/1.118, allocations: 0 / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0005113/1.119, allocations: 0 / 1.313 GB, free: 11.21 MB / 1.014 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.02304/1.142, allocations: 6.328 MB / 1.319 GB, free: 7.156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.142, allocations: 10.22 kB / 1.319 GB, free: 7.156 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003485/1.145, allocations: 0.8233 MB / 1.32 GB, free: 6.586 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007652/1.153, allocations: 1.066 MB / 1.321 GB, free: 6.078 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/1.164, allocations: 3.608 MB / 1.325 GB, free: 3.809 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005889/1.165, allocations: 422.8 kB / 1.325 GB, free: 3.629 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002569/1.167, allocations: 0.5448 MB / 1.326 GB, free: 3.453 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/1.191, allocations: 9.381 MB / 1.335 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002115/1.191, allocations: 19.69 kB / 1.335 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001704/1.193, allocations: 251.9 kB / 1.335 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006199/1.194, allocations: 420.1 kB / 1.336 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/1.208, allocations: 7.119 MB / 1.342 GB, free: 9.793 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04419/1.252, allocations: 41.01 MB / 1.383 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/1.256, allocations: 3.105 MB / 1.386 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002689/1.259, allocations: 2.159 MB / 1.388 GB, free: 8.668 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/1.259, allocations: 25.94 kB / 1.388 GB, free: 8.645 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/1.259, allocations: 60.5 kB / 1.388 GB, free: 8.574 MB / 1.076 GB Notification: Performance of pre-optimization done (n=209): time 3.597e-06/1.259, allocations: 0 / 1.388 GB, free: 8.574 MB / 1.076 GB Notification: Performance of matching and sorting (n=212): time 0.02365/1.283, allocations: 10.57 MB / 1.398 GB, free: 13.91 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/1.283, allocations: 77.34 kB / 1.398 GB, free: 13.83 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/1.286, allocations: 2.002 MB / 1.4 GB, free: 11.81 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/1.286, allocations: 61.7 kB / 1.4 GB, free: 11.74 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001652/1.288, allocations: 2.402 MB / 1.403 GB, free: 9.316 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000742/1.289, allocations: 0.7309 MB / 1.403 GB, free: 8.59 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008723/1.29, allocations: 481.2 kB / 1.404 GB, free: 8.113 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/1.29, allocations: 301.1 kB / 1.404 GB, free: 7.816 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/1.292, allocations: 1.376 MB / 1.405 GB, free: 6.438 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/1.294, allocations: 2.102 MB / 1.407 GB, free: 4.02 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004575/1.299, allocations: 3.77 MB / 1.411 GB, free: 15.95 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/1.299, allocations: 4 kB / 1.411 GB, free: 15.95 MB / 1.107 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007891/1.307, allocations: 5.064 MB / 1.416 GB, free: 10.86 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/1.307, allocations: 16 kB / 1.416 GB, free: 10.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/1.307, allocations: 20 kB / 1.416 GB, free: 10.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/1.31, allocations: 1.6 MB / 1.418 GB, free: 9.215 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.312, allocations: 455.2 kB / 1.418 GB, free: 8.77 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/1.333, allocations: 18.56 MB / 1.436 GB, free: 5.652 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/1.336, allocations: 143.9 kB / 1.436 GB, free: 5.512 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004685/1.336, allocations: 112 kB / 1.436 GB, free: 5.402 MB / 1.123 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.003857/1.34, allocations: 1.937 MB / 1.438 GB, free: 3.453 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000785/1.341, allocations: 292.6 kB / 1.439 GB, free: 3.164 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007282/1.348, allocations: 4.448 MB / 1.443 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/1.348, allocations: 20 kB / 1.443 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.382e-05/1.348, allocations: 16 kB / 1.443 GB, free: 14.65 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/1.348, allocations: 7.969 kB / 1.443 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/1.367, allocations: 9.681 MB / 1.452 GB, free: 4.855 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.367, allocations: 4 kB / 1.452 GB, free: 4.852 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.368, allocations: 239.6 kB / 1.453 GB, free: 4.617 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003234/1.372, allocations: 1.42 MB / 1.454 GB, free: 3.188 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/1.372, allocations: 36 kB / 1.454 GB, free: 3.152 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/1.394, allocations: 18.57 MB / 1.472 GB, free: 32 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.394, allocations: 4 kB / 1.472 GB, free: 28 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007435/1.401, allocations: 4.548 MB / 1.477 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002394/1.403, allocations: 0.6382 MB / 1.477 GB, free: 10.73 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/1.405, allocations: 44 kB / 1.477 GB, free: 10.69 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/1.407, allocations: 111.9 kB / 1.477 GB, free: 10.58 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006818/1.408, allocations: 189.6 kB / 1.478 GB, free: 10.39 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002442/1.408, allocations: 60 kB / 1.478 GB, free: 10.33 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00285/1.411, allocations: 1.315 MB / 1.479 GB, free: 9.008 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.81e-07/1.411, allocations: 0 / 1.479 GB, free: 9.008 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00448/1.415, allocations: 1.141 MB / 1.48 GB, free: 7.867 MB / 1.17 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.007696/1.423, allocations: 5.152 MB / 1.485 GB, free: 2.621 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007534/1.431, allocations: 4.723 MB / 1.49 GB, free: 13.85 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.431, allocations: 4 kB / 1.49 GB, free: 13.84 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004476/1.435, allocations: 2.918 MB / 1.493 GB, free: 10.89 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005062/1.44, allocations: 0.8923 MB / 1.493 GB, free: 10.01 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05753/1.498, allocations: 30.37 MB / 1.523 GB, free: 10.46 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006144/1.504, allocations: 3.698 MB / 1.527 GB, free: 6.73 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002069/1.506, allocations: 0.5556 MB / 1.527 GB, free: 6.168 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002733/1.509, allocations: 1.944 MB / 1.529 GB, free: 4.223 MB / 1.217 GB Notification: Performance of SimCode: time 1.353e-06/1.509, allocations: 0 / 1.529 GB, free: 4.223 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1433/1.652, allocations: 86.09 MB / 1.613 GB, free: 15.16 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.73, allocations: 0 / 1.613 GB, free: 15.16 MB / 1.311 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches