Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001714/0.001714, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002809/0.00281, allocations: 198.1 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.095/2.095, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.324/3.324, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 66.11 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2742, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03157/0.3058, allocations: 33.05 MB / 1.085 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.3256, allocations: 14.67 MB / 1.099 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.3285, allocations: 143.2 kB / 1.099 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007946/0.3365, allocations: 3.414 MB / 1.102 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006865/0.3434, allocations: 2.666 MB / 1.105 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004947/0.3483, allocations: 2.134 MB / 1.107 GB, free: 416 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009065/0.3574, allocations: 8.823 MB / 1.116 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01393/0.3714, allocations: 11.37 MB / 1.127 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.3764, allocations: 3.999 MB / 1.131 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005048/0.3815, allocations: 4.221 MB / 1.135 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.3829, allocations: 0.7148 MB / 1.136 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.3857, allocations: 1.724 MB / 1.137 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.3877, allocations: 2.83 MB / 1.14 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002659/0.3904, allocations: 3.388 MB / 1.143 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.4049, allocations: 11.19 MB / 1.154 GB, free: 15.92 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.405, allocations: 0 / 1.154 GB, free: 15.92 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.949e-06/0.405, allocations: 4 kB / 1.154 GB, free: 15.92 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004303/0.4054, allocations: 0 / 1.154 GB, free: 15.92 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01531/0.4208, allocations: 5.975 MB / 1.16 GB, free: 9.867 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 9.323e-05/0.4209, allocations: 16.61 kB / 1.16 GB, free: 9.852 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001145/0.422, allocations: 0.7232 MB / 1.161 GB, free: 9.117 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006282/0.4283, allocations: 1.138 MB / 1.162 GB, free: 7.973 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006243/0.4346, allocations: 3.325 MB / 1.165 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.4348, allocations: 374.4 kB / 1.166 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009236/0.4358, allocations: 0.492 MB / 1.166 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.4483, allocations: 8.009 MB / 1.174 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.4484, allocations: 23.77 kB / 1.174 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004755/0.4489, allocations: 220 kB / 1.174 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001005/0.4499, allocations: 433.6 kB / 1.175 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008523/0.4585, allocations: 6.085 MB / 1.18 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03267/0.4911, allocations: 35.15 MB / 1.215 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.4936, allocations: 2.022 MB / 1.217 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/0.4958, allocations: 1.865 MB / 1.219 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.496, allocations: 21.94 kB / 1.219 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.496, allocations: 60.45 kB / 1.219 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 3.497e-06/0.496, allocations: 0 / 1.219 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.5102/1.006, allocations: 38.87 MB / 1.257 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/1.006, allocations: 83.72 kB / 1.257 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002875/1.009, allocations: 2.278 MB / 1.259 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/1.009, allocations: 74.91 kB / 1.259 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/1.011, allocations: 2.274 MB / 1.261 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005627/1.011, allocations: 0.9355 MB / 1.262 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008497/1.012, allocations: 0.5014 MB / 1.263 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.325e-05/1.012, allocations: 307.1 kB / 1.263 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003106/1.015, allocations: 1.978 MB / 1.265 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/1.019, allocations: 2.596 MB / 1.267 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006158/1.025, allocations: 4.938 MB / 1.272 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.025, allocations: 5.344 kB / 1.272 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01301/1.038, allocations: 7.753 MB / 1.28 GB, free: 166 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/1.038, allocations: 12.94 kB / 1.28 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/1.038, allocations: 19.12 kB / 1.28 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008142/1.046, allocations: 3.253 MB / 1.283 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.047, allocations: 398.3 kB / 1.283 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03561/1.083, allocations: 33.89 MB / 1.316 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/1.086, allocations: 163.8 kB / 1.317 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/1.086, allocations: 108 kB / 1.317 GB, free: 140.3 MB / 0.9981 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002342/1.088, allocations: 1.798 MB / 1.318 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/1.089, allocations: 336 kB / 1.319 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/1.099, allocations: 7.349 MB / 1.326 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.099, allocations: 31.98 kB / 1.326 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.81e-05/1.099, allocations: 28.81 kB / 1.326 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/1.099, allocations: 15.95 kB / 1.326 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/1.115, allocations: 12.93 MB / 1.339 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.115, allocations: 10.61 kB / 1.339 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/1.116, allocations: 237 kB / 1.339 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006338/1.122, allocations: 2.878 MB / 1.342 GB, free: 114.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/1.123, allocations: 52.81 kB / 1.342 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03054/1.153, allocations: 32.69 MB / 1.374 GB, free: 80.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/1.153, allocations: 8 kB / 1.374 GB, free: 80.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/1.164, allocations: 6.89 MB / 1.38 GB, free: 73.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/1.166, allocations: 0.7782 MB / 1.381 GB, free: 73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003884/1.166, allocations: 55.98 kB / 1.381 GB, free: 72.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.168, allocations: 171.7 kB / 1.381 GB, free: 72.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007098/1.168, allocations: 254.8 kB / 1.382 GB, free: 72.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/1.168, allocations: 73 kB / 1.382 GB, free: 72.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001646/1.17, allocations: 1.529 MB / 1.383 GB, free: 70.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.17, allocations: 3.562 kB / 1.383 GB, free: 70.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003326/1.173, allocations: 1.371 MB / 1.385 GB, free: 69.56 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01196/1.185, allocations: 7.507 MB / 1.392 GB, free: 61.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01895/1.204, allocations: 8.384 MB / 1.4 GB, free: 53.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/1.204, allocations: 7.094 kB / 1.4 GB, free: 53.37 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008947/1.213, allocations: 4.414 MB / 1.404 GB, free: 48.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006703/1.22, allocations: 1.115 MB / 1.405 GB, free: 47.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05969/1.28, allocations: 46.06 MB / 1.45 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003959/1.284, allocations: 3.643 MB / 1.454 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001807/1.286, allocations: 0.5554 MB / 1.455 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/1.288, allocations: 1.972 MB / 1.457 GB, free: 8.914 MB / 1.014 GB Notification: Performance of SimCode: time 6.92e-07/1.288, allocations: 0 / 1.457 GB, free: 8.914 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.567/2.855, allocations: 113 MB / 1.567 GB, free: 9.195 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003574/2.855, allocations: 260 kB / 1.567 GB, free: 8.934 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.214/9.069, allocations: 0 / 1.567 GB, free: 8.934 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches