Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.007107/0.007107, allocations: 103.8 kB / 15.73 MB, free: 6.047 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.001654/0.001654, allocations: 188 kB / 16.67 MB, free: 5.969 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.28/1.28, 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 11.0.1-master/package.mo): time 2.458/2.458, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 63.89 kB / 1.054 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8417/0.8438, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01124/0.8551, allocations: 10.08 MB / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005174/0.8603, allocations: 3.178 MB / 1.22 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008292/0.8612, allocations: 39.81 kB / 1.22 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.863, allocations: 0.5946 MB / 1.221 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.8648, allocations: 0.7349 MB / 1.222 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.8664, allocations: 0.7462 MB / 1.222 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00304/0.8695, allocations: 2.988 MB / 1.225 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.8723, allocations: 2.596 MB / 1.228 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.874, allocations: 1.262 MB / 1.229 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002318/0.8764, allocations: 1.562 MB / 1.23 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006737/0.8771, allocations: 236 kB / 1.231 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.8785, allocations: 0.4994 MB / 1.231 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.8799, allocations: 1.072 MB / 1.232 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002117/0.8821, allocations: 1.105 MB / 1.233 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.8856, allocations: 3.693 MB / 1.237 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.8857, allocations: 0 / 1.237 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8857, allocations: 0 / 1.237 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.932e-05/0.8857, allocations: 7.984 kB / 1.237 GB, free: 15.09 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003433/0.8892, allocations: 2.142 MB / 1.239 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.8892, allocations: 8.031 kB / 1.239 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002938/0.8895, allocations: 261.2 kB / 1.239 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007895/0.8974, allocations: 1.317 MB / 1.241 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.8996, allocations: 1.302 MB / 1.242 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.8996, allocations: 111.4 kB / 1.242 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/0.8999, allocations: 144.3 kB / 1.242 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004483/0.9044, allocations: 3.44 MB / 1.245 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.9045, allocations: 4 kB / 1.245 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/0.9047, allocations: 67.95 kB / 1.246 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/0.9049, allocations: 203.1 kB / 1.246 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004165/0.9091, allocations: 3.127 MB / 1.249 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.9241, allocations: 13.54 MB / 1.262 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.9264, allocations: 1.724 MB / 1.264 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.9283, allocations: 1.444 MB / 1.265 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.105e-05/0.9284, allocations: 13 kB / 1.265 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.9284, allocations: 47.56 kB / 1.265 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 4.589e-06/0.9284, allocations: 0 / 1.265 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.1272/1.056, allocations: 36.68 MB / 1.301 GB, free: 12.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/1.056, allocations: 73.41 kB / 1.301 GB, free: 12.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/1.057, allocations: 1.057 MB / 1.302 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002943/1.057, allocations: 57.7 kB / 1.302 GB, free: 11.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/1.058, allocations: 0.7835 MB / 1.303 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006181/1.059, allocations: 0.6277 MB / 1.304 GB, free: 9.598 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000855/1.059, allocations: 367.3 kB / 1.304 GB, free: 9.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 7.896e-05/1.059, allocations: 301.1 kB / 1.304 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/1.062, allocations: 1.928 MB / 1.306 GB, free: 7.004 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002693/1.065, allocations: 2.285 MB / 1.308 GB, free: 4.598 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005264/1.07, allocations: 4.394 MB / 1.313 GB, free: 80 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/1.07, allocations: 8 kB / 1.313 GB, free: 72 kB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01882/1.089, allocations: 9.031 MB / 1.321 GB, free: 7.012 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/1.089, allocations: 8 kB / 1.321 GB, free: 7.004 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/1.089, allocations: 12 kB / 1.321 GB, free: 6.992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01617/1.105, allocations: 4.965 MB / 1.326 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008945/1.106, allocations: 191.6 kB / 1.326 GB, free: 1.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05676/1.163, allocations: 38.89 MB / 1.364 GB, free: 10.35 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/1.165, allocations: 99.89 kB / 1.365 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004926/1.165, allocations: 71.98 kB / 1.365 GB, free: 10.18 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001771/1.167, allocations: 0.8134 MB / 1.365 GB, free: 9.359 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/1.168, allocations: 138.3 kB / 1.366 GB, free: 9.223 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0196/1.187, allocations: 8.886 MB / 1.374 GB, free: 304 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/1.187, allocations: 20 kB / 1.374 GB, free: 284 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.971e-05/1.187, allocations: 28 kB / 1.374 GB, free: 256 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.67e-05/1.188, allocations: 7.969 kB / 1.374 GB, free: 248 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02673/1.214, allocations: 13.41 MB / 1.387 GB, free: 2.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.678e-05/1.214, allocations: 4 kB / 1.387 GB, free: 2.676 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/1.215, allocations: 115.9 kB / 1.387 GB, free: 2.562 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01559/1.23, allocations: 4.837 MB / 1.392 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003901/1.231, allocations: 36 kB / 1.392 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05237/1.283, allocations: 36.83 MB / 1.428 GB, free: 8.258 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.283, allocations: 11.88 kB / 1.428 GB, free: 8.246 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01844/1.302, allocations: 8.596 MB / 1.437 GB, free: 15.56 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.303, allocations: 0.6358 MB / 1.437 GB, free: 14.9 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005875/1.304, allocations: 32 kB / 1.437 GB, free: 14.87 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.305, allocations: 99.88 kB / 1.437 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000906/1.306, allocations: 157.7 kB / 1.437 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/1.307, allocations: 44 kB / 1.438 GB, free: 14.57 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001152/1.308, allocations: 0.7382 MB / 1.438 GB, free: 13.82 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.71e-07/1.308, allocations: 3.938 kB / 1.438 GB, free: 13.82 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003414/1.311, allocations: 1.004 MB / 1.439 GB, free: 12.82 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01895/1.33, allocations: 9.187 MB / 1.448 GB, free: 3.535 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.009918/1.34, allocations: 5.939 MB / 1.454 GB, free: 13.54 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/1.34, allocations: 0 / 1.454 GB, free: 13.54 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007736/1.348, allocations: 3.94 MB / 1.458 GB, free: 9.551 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/1.35, allocations: 233.6 kB / 1.458 GB, free: 9.32 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05935/1.409, allocations: 31.03 MB / 1.488 GB, free: 9.77 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/1.412, allocations: 1.851 MB / 1.49 GB, free: 7.879 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009046/1.412, allocations: 359.4 kB / 1.491 GB, free: 7.523 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007941/1.413, allocations: 0.6047 MB / 1.491 GB, free: 6.918 MB / 1.217 GB Notification: Performance of SimCode: time 1.553e-06/1.413, allocations: 7.938 kB / 1.491 GB, free: 6.91 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7509/2.164, allocations: 77.88 MB / 1.567 GB, free: 338.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/13.81, allocations: 9.203 kB / 1.567 GB, free: 338.6 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches